Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a similar question to this one. Unfortunately, the answers there didn't help me. I would like to plot a simple function with the normal Plot function. However, I want the origin of my plot to be in the upper left corner, the x-axes to grow to the right and the y-axes to grow down. How can I do this?

share|improve this question
1  
I would call it a duplicate of flipping axis on plot but the trick with ScallingFunctions is no longer working with ListPlot, at least on V9.0.1.0 WinXP/Win7. –  Kuba Jan 24 at 10:13

2 Answers 2

up vote 7 down vote accepted

A little bit tricky because it is not supposed to work:

Plot[x^2, {x, 0, 3}, ScalingFunctions -> {Identity, "Reverse"}, 
                     PlotRange -> {{0, 4}, {-10, 0}}, 
                     AxesStyle -> {Arrowheads@.05, Arrowheads[{-.05, 0}]}]

enter image description here

How can one find undocumented options

share|improve this answer
    
How to do the same with Graphics? –  tower120 Apr 3 at 4:57
    
I wanted to suggest to post a separate question but it seems you've done this already. –  Kuba Apr 3 at 12:01

Not pretty, but using supported capabilities.

x = #^2 &@Range[0, 10, .001];

ListPlot[-x, DataRange -> {0, 10}, PlotStyle -> PointSize[.002], 
 InterpolationOrder -> 2, PlotRange -> {{0, 10}, {0, -100}}, 
 AxesOrigin -> {0, 0}, 
 Ticks -> {Automatic, 
   Function[{mn, mx}, 
    Table[{i, -i, {0.02, 0}}, {i, N@FindDivisions[{mn, mx}, 10]}]]}]

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.