From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Help Regarding plotting of graph using Math script.

am trying to plot t,i; t,p:t;i2 :t,v2. (i.e 4 graphs simultaneously two on same graph and two on different graphs) how should i approach. One more thing i am getting error in 6th line. Can anybody tell me how to deal with it.

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

Hi Tarun,

 

I would usggest to look at subplots and figure, this can be searcehd for easilly online. In terms of the error it appears that 'p' hasn't been defined or has been defined as the wrong size. I would check what size output you are getting and then define as appropriate. 

 

Cheers 

 

J

0 Kudos
Message 2 of 3
(5,780 Views)

This link gives good ideas on subplots

 

http://www.dartmouth.edu/~rc/classes/matlab_graphics/Matlab-subplots.html

 

 

0 Kudos
Message 3 of 3
(5,780 Views)