Message Boards Message Boards

0
|
17956 Views
|
4 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Reverse the axes of a plot?

Posted 5 years ago

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.

POSTED BY: Miguel Saldias
4 Replies
Posted 5 years ago

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

POSTED BY: Miguel Saldias

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
POSTED BY: Ed Forrester
Posted 5 years ago

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

POSTED BY: Miguel Saldias

Try this:

Plot[Sin[x], {x, -3, 3}, ScalingFunctions -> {"Reverse", Automatic}]
POSTED BY: Sander Huisman
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