Plotting graph in the appdesigner from the object handle - h
Mostrar comentarios más antiguos
Hi,
I have code below that plots the graph via object handle 'h'. I would like to embed this plot into appdesigner and I am having problem with doing that. Normally I would plot in the appdesigner with plot(app.UIAxes,x,y). How could I do it if I only have handle 'h' ?
RFCF1 = 2400e6; % 2.4 GHz
RFBW1 = 200e6; % 200 MHz
IFBW1 = 20e6; % 20 MHz
IMT1 = [99 0 21 17 26;
11 0 29 29 63;
60 48 70 86 41;
90 89 74 68 87;
99 99 95 99 99];
writecell(num2cell(IMT1), 'imt1.txt')
h = OpenIF('IFLocation', 'MixerOutput')
h.SpurFloor = 85;
addMixer(h,IMT1, RFCF1, RFBW1, 'low', IFBW1);
report(h);
figure(1);
show(h)
h.Mixers(1).MixingType = 'high';
report(h)
figure(2);
show(h);
Thank you,
Respuesta aceptada
Más respuestas (1)
S.R.
el 17 de Jul. de 2020
0 votos
6 comentarios
Adam Danz
el 18 de Jul. de 2020
See the first comment within the code under step 4.
S.R.
el 18 de Jul. de 2020
Adam Danz
el 19 de Jul. de 2020
Which line is line 47? I don't think that error is from any of the lines in the code you shared above. If that line is generated from the code in my answer, please provide the entire error message and share the line of code producing the error.
Also, have you tried running only the code from my answer?
S.R.
el 20 de Jul. de 2020
S.R.
el 20 de Jul. de 2020
Adam Danz
el 20 de Jul. de 2020
Sounds good! Glad I could help out.
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!