Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I have been plotting current passing w.r.t time in Mathcad Prime 7.0. But it gives the message, "Plotting failed, Replace complex values and NaNs by real numbers". It is a simple program and there are no complex values and NaNs. I can't figure out what's the reason for this failure.
But when I plot the same program in Mathcad v15 it plots successfully with no error. I am wondering whats the problem with Mathcad Prime 7.0. Is it a bug?
One of the things Mathcad 15 would do that Prime won't is automatically plot from -10 to 10 if a graph denominator was not defined. Your issue has a simple fix:
@Fred_Kohlhepp As far as my experience is concerned prime can automatically plot from -10 to 10 same as Mathcad v15. Moreover in this problem when I undo the units of microseconds it plots automatically. I can't figure out why it does so?
Also if we define a range variable the file size increases 5 folds. It is not feasible if we have a lot of plots in the worksheet.
Sorry! Thought I had your answer. I can recognize your concerns, but I like to carry units whenever I can.
I set out to see how little I had to modify your sheet to get the plot to work. See if the attached will help:
Apparently the automatic variable (t in your case) generated by Prime does not automatically create a unit for it...
Luc