Hi,
I want the X asis to plot from 1 to -1 and I tired to do xlim[(1 -1)] and -1 to 1 It didn't work, I want i to start from 1 and end in -1 which is reverse than normal plots what I got it from -1 to 1 on te plot?

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 26 de Nov. de 2020

1 voto

You need to set xdir property to 'reverse'
xlim([-1 1])
set(gca, 'xdir', 'reverse')

Más respuestas (0)

Categorías

Más información sobre Vehicle Dynamics Blockset en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 26 de Nov. de 2020

Respondida:

el 26 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by