Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello,
What to add in below program for example in order to limit the values on x and y axis at:
So that the graph does not have more than 10^307 points to display, even if the program has available to display more points greater than 10^307.
Or what can be done in situations like this?
I thought at below variant, but this variant does not differentiate in other type of cases like division by zero:
If we run with the first program:
Solved! Go to Solution.
No, use one of the two variants shown below.
When I wrote my previous answer I had the right version in my mind. The left one does the job as well because once the limit is exceeded you function never would return a lower number - therefore it makes sense to stop the program right at the first error.
It seems to make sense to use a log scale at the ordinate.
Try to put the "try... on error Nan" just around the y assignment in the loop
No, use one of the two variants shown below.
When I wrote my previous answer I had the right version in my mind. The left one does the job as well because once the limit is exceeded you function never would return a lower number - therefore it makes sense to stop the program right at the first error.
It seems to make sense to use a log scale at the ordinate.