DataReversed

DataReversed

is an option for ArrayPlot and related functions that specifies whether data should be plotted in reverse order.

Details

  • 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.

Examples

open allclose all

Basic Examples  (1)

Reverse the order of rows, turning the image upside down:

Scope  (1)

The frame ticks give the original row numbers:

Generalizations & Extensions  (1)

Reverse in but not :

Properties & Relations  (3)

With DataReversed->True, ArrayPlot gives the same orientation as ListDensityPlot:

DataReversed->True is equivalent to reversing the input to ArrayPlot:

DataReversed->{False,True} effectively maps Reverse onto each row:

Introduced in 2007
 (6.0)