Skip to content

Commit

Permalink
updated transpose example plot with xincrease
Browse files Browse the repository at this point in the history
  • Loading branch information
Clark Fitzgerald committed Jul 14, 2015
1 parent f65bbfd commit 77c19dd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ It may seem strange that
the the values on the y axis are decreasing with -0.5 on the top. This is because
the pixels are centered over their coordinates, and the
axis labels and ranges correspond to the values of the
coordinates.
coordinates.

All 2d plots in xray allow the use of the keyword arguments ``yincrease=True``
to produce a
Expand Down Expand Up @@ -208,6 +208,13 @@ transpose the array.
@savefig plotting_changing_axes.png width=4in
distance.T.plot()
To make x and y increase:

.. ipython:: python
@savefig plotting_changing_axes2.png width=4in
distance.T.plot(xincrease=True, yincrease=True)
Nonuniform Coordinates
~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 77c19dd

Please sign in to comment.