Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2905 > unrolled thread
| Started by | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| First post | 2011-06-02 23:10 +0000 |
| Last post | 2011-06-02 23:10 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Mathematica plots Heike Gramberg <heike.gramberg@gmail.com> - 2011-06-02 23:10 +0000
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Date | 2011-06-02 23:10 +0000 |
| Subject | Re: Mathematica plots |
| Message-ID | <is959d$5v5$1@smc.vnet.net> |
As far as I know, you can't change the direction of the axes directly but you can get around this by using
the Ticks option. Suppose for example that you want to plot Exp[x] with the y-axis going from high to low,
then you could do something like
Plot[-Exp[x], {x, 1, 5}, Ticks -> {Automatic,
With[{range == Range[0, -Round[Exp[5]], -20]},
Transpose[{range, -range}]]}]
Heike.
On 2 Jun 2011, at 12:17, nivk wrote:
> Hi,
>
> I would like to know how to change the range of a plot on the y-axis to g=
o from larger to smaller numbers.
>
> Here's an example:
> http://spiff.rit.edu/classes/phys230/lectures/clusters/cm_pleiades.png
>
> I tried using PlotRange-> but that didn't make any difference.
>
> Thanks!
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web