Skip to main content
7-Bedrock
Jun 10, 2022 6:13 PM UTC
Solved

No data found for 3d plot

No matter what range i change i am not able to show 3d plot data. Anyways how's the range should be chosen for such scenarios 

LucMeekesAnswer
23-Emerald V
Jun 12, 2022 11:27 AM UTC

"Is there any specific reason"

 

Yes, Prime will not accept a 3D plot from a matrix with just a single row. It's because it (deliberately or inadvertently) was implemented that way:

LucMeekes_0-1655033114738.png

The work-around (one of the many work-arounds that you need when working with Prime) for this shortcoming is to repeat the matrix row when you want to plot just a single point. This can be done by stacking:

LucMeekes_1-1655033242789.png

Success!
Luc

10 replies

terryhendicott
21-Topaz II
Jun 10, 2022 8:47 PM UTC

Hi,

It would appear you need at least two rows in the data to get a scatter plot!

Capture.JPG

Cheers

Terry

Translate
Werner_E
25-Diamond I
Jun 10, 2022 10:16 PM UTC

In real Mathcad plotting a couple of points was a bit awkward as it needed a nested matrix to do so. This was made a bit easier in Prime.

But Mathcad would also allow to plot a single point and this seems to be broken in Prime. On the other hand, the plot abilities in Prime, and especially the 3D plots, are not really to be taken seriously anyway.

A simple workaround, if you really want to use Primes 3D plot and plot a single point, is to plot the same point twice 😉

Werner_E_0-1654899330749.png

 

Translate
7-Bedrock
Jun 12, 2022 11:16 AM UTC

Is there any specific reason the same point needs to be plotted twice?

Translate
LucMeekes23-Emerald VAnswer
23-Emerald V
Jun 12, 2022 11:27 AM UTC

"Is there any specific reason"

 

Yes, Prime will not accept a 3D plot from a matrix with just a single row. It's because it (deliberately or inadvertently) was implemented that way:

LucMeekes_0-1655033114738.png

The work-around (one of the many work-arounds that you need when working with Prime) for this shortcoming is to repeat the matrix row when you want to plot just a single point. This can be done by stacking:

LucMeekes_1-1655033242789.png

Success!
Luc

Translate
ttokoro
21-Topaz I
Jun 10, 2022 11:35 PM UTC

image.pngimage.pngimage.pngimage.pngimage.png

Translate
t.t.