Group Abstract Group Abstract

Message Boards Message Boards

0
|
3K Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Flipping the x-axis

Posted 2 years ago
POSTED BY: D S
5 Replies
Posted 2 years ago

Thank you very much!

POSTED BY: D S
Posted 2 years ago

Try adding the option ScalingFunctions. Let's say list holds your data, then

ListPlot[list, ScalingFunctions -> {"Reverse", None}]
POSTED BY: Eric Rimbey
Posted 2 years ago

Thank you very much! But now the y-axis is on the right side and not on left. How can i fix this?

POSTED BY: D S
Posted 2 years ago

You can use the AxesOrigin option.

POSTED BY: Eric Rimbey

I guess you are asking for ScalingFunctions (let data be your data), try:

ListLinePlot[data, ScalingFunctions -> {"Reverse", None}]
POSTED BY: Henrik Schachner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard