We are aware of an issue causing intermittent login problems for some users following a recent update. Learn More
In the attached file, the function sometimes evaluates to imaginary numbers.
However, I'm trying to graph in a region where it would be a real valued function.
So, why did I get the error message and how do I fix it?
After fooling around with other options, I found the problem. I'm putting the answer to my problem up here for anyone else who might run into it.
Even though, in the axes tab, I had set x to range from 0 to 1 and y to range from 0 to 1, Mathcad was still trying to plot other points.
I had to go to quickplot data and change the options there. I would have thought that mathcad would change quickplot data to mirror the ranges I put in the axes tab, but that was not the case.
Yes, the quickplot settings define the range over which the function is evaluated, whereas the axis settings define the range of the axes. Not very intuitive, I agree, but sometimes there may be a legitimate need to have them defined differently. A good example would be when you plot more than one function on the same graph. The quickplot data is available for each one, but of course you can only have one set of axes ranges.
If you want complete control over how the graphs are plotted look up the CreateMesh and CreateSpace functions.