Skip to main content
1-Visitor
June 15, 2020
Solved

Plotting failed. Replace complex values and NaNs by real numbers. Mathcad14 and Prime 3.0

  • June 15, 2020
  • 1 reply
  • 4341 views

Hello,

I'm starting my adventure with Mathcad.

I have two the same files written in Mathcad 14 and Mathcad Prime 3.0.But it only works well in Mathcad 14 and I don't understand why. 

In Prime 3.0 when i trying to plot the graph i have: "Plotting failed. Replace complex values and NaNs by real numbers."

I noticed that there are many people with similar problems. I have read all topics related to it and I still don't know what is wrong with my file.

Can you help me?

Screenshot 2020-06-15 08-45-51.jpgScreenshot 2020-06-15 08-45-34.jpg

 

Best answer by Werner_E

Never type square brackets unless you really intend to create a matrix/vector. Otherwise type parenthesis only! Sometimes in real Mathcad and even in Prime they may be displayed as square brackets, but even you should never type square brackets yourself. In real Mathcad its not possible to enter that trap as typing "[" always will create a vector/matrix index, but in Prime after a multiplication dot it creates a matrix/vector.

Werner_E_1-1592361524364.png

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
June 17, 2020

Never type square brackets unless you really intend to create a matrix/vector. Otherwise type parenthesis only! Sometimes in real Mathcad and even in Prime they may be displayed as square brackets, but even you should never type square brackets yourself. In real Mathcad its not possible to enter that trap as typing "[" always will create a vector/matrix index, but in Prime after a multiplication dot it creates a matrix/vector.

Werner_E_1-1592361524364.png

 

 

Nykus1-VisitorAuthor
1-Visitor
June 19, 2020

Thank you! All clear.

I didn't know that the brackets are so important...

 

I have one more question:

How can I move this graph to Excel? For matching.

23-Emerald IV
June 19, 2020

Take a screenshot and paste it onto the Excel worksheet.

 

Better: Take your data from Excel to Prime and plot it along with the Prime data.

 

Success!
Luc