how i can use multiple axes in GUI ,to set different plots to different axes at a same time ?

2 views (last 30 days)
i want to make psk modulation and send modulating signal,carrier and modulated wave at-a-time in different axes in GUI i can generate psk but cant send 3 plot at same time on 3 axes .ony last plot get display on last or 3rd axes.

Answers (1)

Adam
Adam on 30 Sep 2016
The plot function has an overload that takes the axes handle as first argument. You should always use this to plot to an explicit axes.
If you want to plot a 2nd plot on the same axes as another then use:
hold( hAxes, 'on' )
for an axes handle, hAxes.
It is hard to understand what you are having a problem with if you don't show any code though. If you give the correct instructions to the plotting functions they will plot exactly where you tell them, but we don't know what instructions you are giving.

Tags

Community Treasure Hunt

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

Start Hunting!