plot two y axis on the right side - GUI

1 view (last 30 days)
Vincent I
Vincent I on 20 Jun 2012
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
Vincent I
Vincent I on 20 Jun 2012
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
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.

Sign in to comment.

Answers (2)

Vincent I
Vincent I on 20 Jun 2012
here's a link to the plot
  1 Comment
Walter Roberson
Walter Roberson on 20 Jun 2012
Unfortunately it appears that my system does not like to play Flash movies.

Sign in to comment.

Aurelien Queffurust
Aurelien Queffurust on 20 Jun 2012
You could use this submission: Easy MultipleXYSeries
You will find other files by typing the keyword plottyy :


Find more on 2-D and 3-D Plots in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!