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' );

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-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