Skip to main content
7 events
when toggle format what by license comment
Jan 30, 2017 at 19:25 vote accept nanjun
Jan 27, 2017 at 22:34 comment added MarcoB @nanjun It drops that $0$ label because, when axes are present, it would be positioned at the axis intersection point, and it would be awkwardly placed. I don't know of a simple way of forcing its placement. Additionally, the amount of padding on each axis (i.e. the amount of "extra space" you were referring to) should be exactly the same whether you are using axes or frames, and is controlled by PlotRangePadding which for Plot is set as 2% by default (i.e. Scaled[0.02]), if I remember correctly.
Jan 27, 2017 at 22:31 comment added nanjun I wonder what is the criterion that Mathematica drops labels? Using frame is a way around but it shows a little bit more before 0. Is it possible to disable it from dropping labels?
Jan 27, 2017 at 22:27 comment added MarcoB @nanjun Yes, but perhaps a frame would be easier to use in that case; see my updated answer.
Jan 27, 2017 at 22:26 history edited MarcoB CC BY-SA 3.0
Added version with Frame
Jan 27, 2017 at 22:21 comment added nanjun Thank you. I noticed that Mathematica sometimes omits some tick labels, which is also the case in your plot above. Is there a way of letting it not omit any tick labels if they are given in a list, e.g. the 0 in your list Range[0, 3, 1/3]?
Jan 27, 2017 at 22:14 history answered MarcoB CC BY-SA 3.0