Group Abstract Group Abstract

Message Boards Message Boards

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

How to make a reversed rescaled axis in ListContourPlot?

Hi, All!

POSTED BY: Vladimir Ivanov
3 Replies

Thank you for your answers!

POSTED BY: Vladimir Ivanov
POSTED BY: Michael Rogers

It appears that ScalingFunctions is flipping the sign of the y-values.

lp = ListContourPlot[tmap,ImageSize->200,FrameTicks->Automatic,ScalingFunctions->{Identity,"Reverse"},DataRange->{{1,10},{1,100}}] ;

PlotRange /. AbsoluteOptions[lp]

So, this will show the contours:

ListContourPlot[tmap, ImageSize -> 200, FrameTicks -> Automatic, 
 ScalingFunctions -> {Identity, "Reverse"}, 
 DataRange -> {{1, 10}, {1, 100}},
 PlotRange -> {{1., 10.}, {-100, -1}}
 ]

But, the contours have been messed up. I think contacting Tech Support may be your next step.

For a work-around, mapping your data as the first step:

ListContourPlot[Reverse@tmap, DataRange -> {{1, 10}, {1, 100}},  ImageSize -> 200]

may be what you are after.

POSTED BY: W. Craig Carter
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard