The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here
Hi Everyone,
I have tried to implement a slider combined with markers to display values from my plot. However, by doing this I get an error for plotting my functions themselves, and I believe it might be because of the units.
I have attached a picture and the file itself below.
I am using mathcadprime 10.0.1. I hope you can help!
Best regards,
Adam
Solved! Go to Solution.
No, it's neither the slider nor the units - its much simpler 😉
Prime reads from top down and from left to right.
The (unfortunately invisible) reference point of your plot region is a little bit higher than the definition of the range "t" at the right of your plot. That way the range "t" is not yet known by the plot region and that's exactly what the error message is telling you (but checking the labels does not help in this case);
So the simple solution is to move the definition of "t" upward until the plot works OK (moving the plot region further down would work OK, too, of course).
Of course you also will have to manually set the unit "day" for the x-axis:
I also changed colors and line width for better visability.
No, it's neither the slider nor the units - its much simpler 😉
Prime reads from top down and from left to right.
The (unfortunately invisible) reference point of your plot region is a little bit higher than the definition of the range "t" at the right of your plot. That way the range "t" is not yet known by the plot region and that's exactly what the error message is telling you (but checking the labels does not help in this case);
So the simple solution is to move the definition of "t" upward until the plot works OK (moving the plot region further down would work OK, too, of course).
Of course you also will have to manually set the unit "day" for the x-axis:
I also changed colors and line width for better visability.
Hi Werner_E,
You are completely right, thank you so much for the help!
Best regards,
Adam
