LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
qing_shan61

Label and scale of the right y axis in Mathscript plotyy

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

clear all;

x = 0:0.01:20;

y1 = 200*exp(-0.05*x).*sin(x);

y2 = 0.8*exp(-0.5*x).*sin(10*x);

plotyy(x,y1,x,y2);

axis([0,20,-200,200]);

xlabel('Time (\musec)');

ylabel('Fast decay');

title('Multiple Decay Rates');

 

Please help,

1. how can I make the 2nd y label ('Slow decay')?

2. how do I set 2nd y maximum and minimum axis?

Thank you very much in advance.

 

6 Comments
qing_shan61
Member

There is no point to provide a second/right y-axis but not being able to scale or lable it.  As a matter of fact, any operation to the left y-axis should be equally appliable to the right y-axis.

RavensFan
Knight of NI

Your question belongs in the LabVIEW forum.  You are currently in the Ideas exchange which suggests new ideas to improve LabVIEW.

altenbach
Knight of NI

Actually, it probably belongs in the mathscript forum

qing_shan61
Member

My original post was indeed in the LabVIEW forum.  I also submitted my questions to NI support in UK.  It is recommended by NI guys to put this to Ideal Exchange forum, so that the problem can be solved by future revision of LabVIEW.  They do not think this problem can be solved by any current forums of any kind.

altenbach
Knight of NI

That's fine, but then it should be written up as an idea and not as a question. Describe exactly what new feature you want and how it should look like, maybe even attach a picture. 😄

Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.