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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Toolbox: Text plotting

LucMeekes
23-Emerald III

Toolbox: Text plotting

Attached is a Prime 4 file that allows you to plot text in a graph, like:

LucMeekes_0-1640470911541.png

Of course it runs in Prime Express...

 

Enjoy!

Luc

36 REPLIES 36
LucMeekes
23-Emerald III
(To:ttokoro)

Nice, but I would write your 3D functions as:

LucMeekes_0-1641478776846.png

There's no need to add an additional NaN bar at the top, because there is already one.

It's also fully ORIGIN aware.

Besides this function also works in Prime Express (The 3D plot unfortunately not 😞 ).

 

Success!

Luc

ttokoro
20-Turquoise
(To:LucMeekes)

Thanks Luc. I try to change ORIGIN=1 then Prime 7 shows error. May be your function below corresponds. T.Tokoro.

 

image.png

LucMeekes
23-Emerald III
(To:ttokoro)

You're right. There's an error in one of my functions. I'll try to find a solution today.

 

Thanks!

Luc

LucMeekes
23-Emerald III
(To:LucMeekes)

Corrected errors that prevented it from working with ORIGIN values other than 0.

 

Success!

Luc

Great @LucMeekes  both 2D &3D.big thank
maybe this last question hahaha. how to convert from Number to Text in Prime for Plot Number?
Best regards SPRSTRUCTURE

SPRstructur_0-1641552516537.png

 

LucMeekes
23-Emerald III
(To:SPRstructur)

Use the num2str() function:

LucMeekes_0-1641553163171.png

LucMeekes_1-1641553174204.png

LucMeekes_2-1641553221097.png

LucMeekes_3-1641553271689.png

 

Success!
Luc

 

ttokoro
20-Turquoise
(To:LucMeekes)

With angle q+Ctrl G. 

 

image.png

image.png

image.png

image.png

image.png

Top Tags