Why my plot does not appears in axes in GUI

3 visualizaciones (últimos 30 días)
odai kiwan
odai kiwan el 9 de Abr. de 2018
Respondida: Adam el 9 de Abr. de 2018
i want to plot radar pulse in gui, but when i plot it it appears in the middle of the GUI not in the axes

Respuestas (1)

Adam
Adam el 9 de Abr. de 2018
Whenever you issue any plotting instruction you should always give the axes explicitly to avoid this kind of unexpected occurrence. In the more recent version of Matlab the vast majority of plotting functions take an axes handle as the first argument. If you are using an older version where this is not in the syntax then you can use the 'Name', 'Value' pair as e.g.
hIm = imagesc( im, 'Parent', hAxes );
Get out of the habit of just assuming that the current axes will always be the right one when you give a plot instruction.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by