Add another y axis on the plot

3 次查看(过去 30 天)
Linden
Linden 2014-5-22
编辑: Yao Li 2014-5-22
Hi Can anyone tell me how to add another y axis (not x) on the RHS of my graph? I want it has the same settings as the LHS one. I don't want to use plotyy as it requires have two series but I only have one. Thanks

回答(1 个)

Yao Li
Yao Li 2014-5-22
Why not try plotyy(x,y,x,y)? Actually, you don't need two different series. They can be identical.
  2 个评论
Linden
Linden 2014-5-22
I tried actually but didn't work. My graph is a bit complicated. It has bar charts behind the line chart as well.

请先登录,再进行评论。

类别

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