Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

DataReversed

DataReversed
is an option for ArrayPlot and related functions which specifies whether data should be plotted in reverse order.
  • DataReversed->True specifies that the order of rows should be reversed, effectively turning the plot upside down.
  • DataReversed->{row, col} specifies whether each row and each column should be reversed.
Reverse the order of rows, turning the image upside down:
Reverse the order of rows, turning the image upside down:
In[1]:=
Click for copyable input
Out[1]=
The frame ticks give the original row numbers:
Reverse in x but not y:
With DataReversed->True, ArrayPlot gives the same orientation as ListDensityPlot:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team