フィルターのクリア

How to copy figure content into axes GUI?

3 ビュー (過去 30 日間)
Daniele Morello
Daniele Morello 2015 年 10 月 5 日
コメント済み: Adam 2015 年 10 月 5 日
hi everyone. I have a figure:
figure;
[hAx,hLine1,hLine2] = plotyy(x,y,x,y3);
ylabel(hAx(1),'Par A');
ylabel(hAx(2),'Par B');
now i would to copy all the contents of figure (labels too) to axes in GUI. How can i do??
(i know that i can use plotyy even for axes directely, but i need to copy the content from figure)
  3 件のコメント
Daniele Morello
Daniele Morello 2015 年 10 月 5 日
my problem is: i'm using this function:
but i don't know how to plot to axes instead of figure
Adam
Adam 2015 年 10 月 5 日
Your code above suggests you are using plotyy rather than plotyyy.
plotyy allows you to specify an axes as the first argument, plotyyy appears not to allow you to specify an axes which is not something I like in a plot function at all. Ideally you should always explicitly specify the axes for a plot unless you are just doing some quick code on command line.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTwo y-axis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by