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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Range Plot with Logspace and Units

cadtelsim
7-Bedrock

Range Plot with Logspace and Units

Im trying to plot, lifetime as a funct. of doping, and abs. coefficient as a function of wavelength. I've looked up some videos and good instructions from this Solved: How to produce a log based range variable or plot ... - PTC Community but I have a problem getting the plot to show while defining the range correctly, ie, units for the start and stop, adding steps. I can pull it up with python but not with Mathcad and I can't find out why. thank you,

cadtelsim_0-1727551775380.png

 

Thank you,

 

34 REPLIES 34

are those just vectors?

cadtelsim_0-1727930713651.png

 

ttokoro
20-Turquoise
(To:cadtelsim)

Grid function is shered by Luc in this SNS. You can find this function. 

Prime 10 sheet with my picture plots is attached. See p.6 and p.7 that have each plot.

Thank you very much for the prime sheet with detailed work and picture plots. How do I create the same Glog ? which function is it, and where is it on the bar? Are those column vectors inside the parenthesis? where is the Ans <-- NaN coming from, Thank you.

ttokoro
20-Turquoise
(To:cadtelsim)

How do I create the same Glog ?....Just Copy and Paste it.

 

which function is it, and where is it on the bar?..... This is user programming function. Not built in function.

Are those column vectors inside the parenthesis?..... x and y are variable vectors. Below shows how to use it.

ttokoro_0-1727999271958.png

 

 

where is the Ans <-- NaN coming from, .... Ans<- [NaN NaN] means make [ x y] data format to plot lines. Add [NaN NaN] means pen off to plot lines. 

 

image.png

This was neat, thanks so much. 

Announcements

Top Tags