Skip to main content
1-Visitor
March 1, 2017
Solved

cspline units in the plot

  • March 1, 2017
  • 3 replies
  • 3675 views

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

Best answer by vkofanov

without the use of a discrete variable

3 replies

24-Ruby IV
March 1, 2017
24-Ruby IV
March 1, 2017

23-Emerald IV
March 1, 2017

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

ebelmonte1-VisitorAuthor
1-Visitor
March 1, 2017

Dear Luc,

how can you assign the unit to a range variable?

Thank-you!

Enrico

24-Ruby IV
March 1, 2017

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

vkofanov1-VisitorAnswer
1-Visitor
March 2, 2017

without the use of a discrete variable