change x-axis in figure

3 views (last 30 days)
Israt Jahan
Israt Jahan on 12 Dec 2016
Commented: Israt Jahan on 13 Dec 2016
Hi
I plot a graph which x axis starts with 0 to 8e-3. but i want it to start from 3e-3, then this 3e-3 indicates as 0 in x axis. i dont know about which commnd i have to use.would you please anyone help me about it.i put my figure in below.

Accepted Answer

Adam
Adam on 12 Dec 2016
doc xlim
  3 Comments
Adam
Adam on 12 Dec 2016
Just shift your signal if you want 3e-3 to be the new 0. Instead of plotting x axis values as 0 to 8e-3 just plot 3 to 11e-3 or 3 to 8e-3 or wherever you want the time values to represent.
Israt Jahan
Israt Jahan on 13 Dec 2016
Thank you so much for your answer

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!