Why my plot does not appears in axes in GUI

1 view (last 30 days)
odai kiwan
odai kiwan on 9 Apr 2018
Answered: Adam on 9 Apr 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

Answers (1)

Adam
Adam on 9 Apr 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.

Categories

Find more on Polar Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!