Message Boards Message Boards

GROUPS:

Reverse the axes of a plot?

Posted 7 days ago
138 Views
|
4 Replies
|
1 Total Likes
|

Hello and thanks for your help.

I am trying to invert the axes provided by the Plot [] command, to invert the Y axis (vertical) and the graphical maintenance of the x axis (horizontal). Thank you very much for your help, I tried to find an answer in the program itself but I did not find it.

Thank you very much for any help you can give me.

4 Replies

Try this:

Plot[Sin[x], {x, -3, 3}, ScalingFunctions -> {"Reverse", Automatic}]

Thank you very much for your help and time. I try to do what you suggest and it works for me, but not with all the code. It seems to me this way.

enter image description here

As you can see the function "ScalingFunctions" is in red and I do not know if this could cause the program to fail.

The "ScalingFunctions" in red means that it is an unknown option. You may be using a different version of Mathematica than Mr. Huisman is using. To determine your version use:`

$Version
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract