Timeline for How to adjust axes of a plot
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 7, 2017 at 1:21 | history | edited | Carl Woll | CC BY-SA 3.0 | Use PlotRange->Full and AxesOrigin to control displayed range. |
| Nov 7, 2017 at 1:11 | comment | added | Rodrigo López | or specifically, that the x-axis does not move using PlotRange -> Full, it would be better | |
| Nov 7, 2017 at 1:06 | comment | added | Rodrigo López | @Nasser@Carl Woll In short, I would like a graph like the one suggested that automatically adjusts to the values and without moving the x-axis | |
| Nov 7, 2017 at 0:53 | comment | added | Rodrigo López | @Nasser indeed, in fact the graph changes for each equation (there are 6 coupled equations). i.e, if you change in the code "[[1, 1, 2]]" by this other "[[1, 2, 2]]" or "[[1, 3, 2]]" (appear before Plot) the plot has other values and does not adjust automatically. My intention is that in each graph the values are adjusted automatically | |
| Nov 7, 2017 at 0:51 | comment | added | Carl Woll | @Nasser By the way, it is possible to use Charting`ScaledTicks[{10#&, #/10&}] to scale the ticks down by 10. | |
| Nov 7, 2017 at 0:49 | comment | added | Nasser | I see. I think you are right now. I though they wanted the same Tick labels but each scaled down by 10 or such. In this case your method is much simpler. I vote for it. | |
| Nov 7, 2017 at 0:43 | comment | added | Carl Woll | @Nasser My understanding of the question is the OP wanted more ticks, not that he wanted to divide the ticks by 10. | |
| Nov 7, 2017 at 0:41 | comment | added | Nasser | I actually tried your solution before (from your comment). But if the before has only say 5 major ticks, your new plot will not necessarily have the same major ticks? For example, how would your method change Plot[Sin[t],{t,0,2 Pi},PlotRange->{{0,2 Pi},Automatic}] major ticks (there are 5 on the y axis) by dividing each by say 10 as in my example? If it works, it will be much simpler than what I have. | |
| Nov 7, 2017 at 0:33 | history | answered | Carl Woll | CC BY-SA 3.0 |