フィルターのクリア

plot two y axis on the right side - GUI

2 ビュー (過去 30 日間)
Vincent I
Vincent I 2012 年 6 月 20 日
Hi, I have already created a graph but i cant find any help on how to create a second y axis on the same side as the first one. thank you
  2 件のコメント
Walter Roberson
Walter Roberson 2012 年 6 月 20 日
Do you have an example plot that you wish to follow whose URL you could post for us?
Two axis on the same side sounds like it would have problems with overlapping tick marks and labels.
Vincent I
Vincent I 2012 年 6 月 20 日
I'm at work right now and unfortunately due to the firewall i cant upload any pictures.
axis(handles.Axes1, [Pmin Pmax -inf inf])
%Plot 1
%axes(handles.Axes1);
set(hObject,'CurrentAxes',handles.Axes1);
hold(handles.Axes1,'on');
plot(handles.Axes1, evalin('base','t'),evalin('base','Value'))
this is some of the code that I'm using. the values are displayed on the plot in real time. What i was trying to do is when I would add a second "Value" the second y axis would plot/appear.

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

回答 (2 件)

Vincent I
Vincent I 2012 年 6 月 20 日
here's a link to the plot
  1 件のコメント
Walter Roberson
Walter Roberson 2012 年 6 月 20 日
Unfortunately it appears that my system does not like to play Flash movies.

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


Aurelien Queffurust
Aurelien Queffurust 2012 年 6 月 20 日
You could use this submission: Easy MultipleXYSeries
You will find other files by typing the keyword plottyy :

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by