ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript plot

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.

0 Kudos
Message 1 of 6
(3,138 Views)

duplicate post

 

Please do not post your question multiple times. This is a forum of volunteers and most of us, such as myself, have full-time jobs. Please be patient. If you need immediate assistance, then you should contact NI tech support directly.

Message 2 of 6
(3,136 Views)

Sorry, apologise.

Technical support in UK will not be able to answer this, from my past experiences.

0 Kudos
Message 3 of 6
(3,129 Views)

Hi Mr Smercurio,

My post has been lost in the ocean of discussion forums.  Could you please help?  I have a book for Matlab .  But I found Mathscript is not the same.  Thank you in advance.

0 Kudos
Message 4 of 6
(3,117 Views)

Hi Qing,

 

This webpage may be able to help you: http://zone.ni.com/devzone/cda/tut/p/id/7006

0 Kudos
Message 5 of 6
(3,107 Views)

Let's please keep the discussion in the original thread.

 

Thanks.

0 Kudos
Message 6 of 6
(3,097 Views)