How to get the -ve x axis on the right side of the +ve axis?

1 回表示 (過去 30 日間)
Yagnaseni Roy
Yagnaseni Roy 2012 年 9 月 14 日
Hi,
I'm able to plot graphs on MATLAB and I'm using this to plot graphs that are supposed to be used to validate against the graphs of a reference paper.
For some weird reason, the graphs from the reference paper have the -vex axis on the right side and the positive x axis on the left.
Does MATLAB allow us to do that on the graphs it plots?

採用された回答

Robert Cumming
Robert Cumming 2012 年 9 月 14 日
編集済み: Robert Cumming 2012 年 9 月 14 日
Is this what your after:
set ( gca, 'xdir', 'reverse' );
  1 件のコメント
Yagnaseni Roy
Yagnaseni Roy 2012 年 9 月 14 日
Hey thanks, that's exactly what I wanted!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by