Incorrect Negative values in graphic

Why does the graph on Mathematica appear to go negative when in reality, it doesn’t?

Can you give a reproducible example?

Here’s the one I’ve been working on! When I zoom in, it’s all positive…but zoomed out, it’s negative. I need to be able to show it being all positive zoomed out.

Looking at your vertical axis, note that it does not start a 0. All the values of the plot that you show are in fact, positive. Remember that Mathematica’s Plot function automatically chooses the crossing point of the two axes–often different from the {0.0} point–so as to show as much detail of the function as possible, along with also changing the range of both axes to show the “interesting” parts of the function’s plot.

Look really closely at the numbers on the Y axis, For almost any x plot range it is cutting off a vast part of the bottom of the graph where it doesn’t think anything “interesting” is happening and the curve then sometimes dips slightly below where they draw the x axis (at about y=7936.5)

Or add AxesOrigin->{0,0} as an option to your Plot.

Note to support staff. It would be really nice if during composing a reply a little note would pop up with “New Message Arrived” when someone else had submitted a response while you were responding to the same item. Gmail does that I think and some other mailers do to. That would allow hitting Cancel instead of Publish. Either that or a delete button to use on my previous post. Thanks for all your work.

Either use Axes -> False, Frame -> True as options to get a less confusing result, or set the AxesOrigin option (possibly to {0,0}). Note that the axes do not cross at {0,0} in your example.

Thank ya’ll so much!!!
I can’t believe I didn’t think of that!!!

Bill,

I passed around your “New Message Arrived” suggestion.

I have no idea when or if it will be implemented.

StackExchange has been doing this for a while and it’s been very helpful.

This time it was a rather unusual coincidence that three people have posted within a single minute.