How to plot 3 axis graphs (eg., X axis, Y axis and opposite to Y axis an other axis call Y1 axis).

2 次查看(过去 30 天)
I need an guidance or direction in plotting 3 axis graph in 2D plot. The X axis and Y axis are fixed set of numbers but Y1 axis varies in according to x and y axis. As y1 axis got massive data i am unable to figure it out how to plot with other 2 axis. I have attached the excel file.
Have a look.
  7 个评论
dpb
dpb 2013-11-8
编辑:dpb 2013-11-8
That's just a straightforward application of plotyy with a log x-axis
hax=plotyy(x,y,x,y1,@semilogx);
y and y1 will be arrays with each column being one series of observations for the left and right axes, respectively.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Two y-axis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by