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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Plot not working

TR_9781963
9-Granite

Plot not working

I guess something is not working with units for my plot can someone have a look and tell me what's wrong  

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:TR_9781963)

Additional to what Luc already said:

.) Don't use vector/matrix indices unless you really want to create vectors. Use literal indices instead.

Werner_E_0-1694040707430.png

 

.) if you wan to create a plot with units at the x-axis, you have to define a range for the x-values:

 

Werner_E_1-1694040739909.png

 

 

Prime 9 sheet attached

 

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:TR_9781963)

Check your formulae.

y(x) adds y1 to k1x^2/2*G*Tx. y1 has units [m] and k1x^2/2*G*Tx has units [1/m].

You cannot add apples and pears.

 

Success!
Luc

Werner_E
25-Diamond I
(To:TR_9781963)

Additional to what Luc already said:

.) Don't use vector/matrix indices unless you really want to create vectors. Use literal indices instead.

Werner_E_0-1694040707430.png

 

.) if you wan to create a plot with units at the x-axis, you have to define a range for the x-values:

 

Werner_E_1-1694040739909.png

 

 

Prime 9 sheet attached

 

Announcements

Top Tags