cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

xy plot - undefined variable

dagi
4-Participant

xy plot - undefined variable

Hi 

My problem is to plot angular velocity as function of time. I get the message "this variable is undefined. Check that the label is set correctly" for the variable t - well - it's a variable defined in the function? - 

Tips would be much appreciated.

ACCEPTED SOLUTION

Accepted Solutions
Fred_Kohlhepp
23-Emerald I
(To:DJF)

In this instance "t" needs to have units of time to balance the equation.

View solution in original post

4 REPLIES 4
DJF
16-Pearl
16-Pearl
(To:dagi)

Sometimes mathcad needs its plotting range defined.  Usually it will default to -10 to +10 but sometimes it doesn't.  Not sure why.  Anyway, just give it a range variable for t.

 

t:=0s,0.01s,1s

dagi
4-Participant
(To:DJF)

thanks 🙂

Fred_Kohlhepp
23-Emerald I
(To:DJF)

In this instance "t" needs to have units of time to balance the equation.

Werner_E
25-Diamond I
(To:DJF)


@DJF wrote:

Sometimes mathcad needs its plotting range defined. 


To be specific: You can't use the quickplot feature with units. You need to define a range for the abscissa values whenever you have to assign units to them. Keep in mind that when defining a range with units, its mandatory to provide the second value. Something like t:=0s .. 100s won't work.

Announcements

Top Tags