Skip to main content
1-Visitor
Solved

cspline units in the plot

Dear all,

I would like to plot a cspline function with the proper units of measurement.

However as you can see in the attached document (the chart highlighted in yellow) it does not work.

Can you please help me?

Thank-you very much.

Best Regards.

Enrico Belmonte

vkofanovAnswer
1-Visitor

without the use of a discrete variable

9 replies

24-Ruby IV
24-Ruby IV

Translate
23-Emerald V

You use an undefined running variable z. I guess this means it has no units.

Define z as a range variable with the proper units and I guess it should work as you expect.

Success!
Luc

Translate
ebelmonte1-VisitorAuthor
1-Visitor

Dear Luc,

how can you assign the unit to a range variable?

Thank-you!

Enrico

Translate
24-Ruby IV

z:=1m, 1.01m .. 2m

Translate
vkofanov1-VisitorAnswer
1-Visitor

without the use of a discrete variable

Translate