Plot: varying X-axis Ticks

1 view (last 30 days)
I am using plot function say, timecourse (from 1 to 10000 seconds) Vs predictionsetvalues (some arbitrary units). My length(predictionsetvalues)==length(timecourse)=10000;
I want to draw my plot in such a way that, my x-axis ticks are arranged as following:
1 2 3 4 5 6 7 8 9 10 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
How can I do this?
Thank you

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 11 Dec 2013
Edited: Azzi Abdelmalek on 11 Dec 2013
This is not possible with linear scale. Maybe with log scale, you can get a representation close to what you want
  1 Comment
SreeHarish Muppirisetty
SreeHarish Muppirisetty on 11 Dec 2013
Edited: SreeHarish Muppirisetty on 11 Dec 2013
Hi Thanks for the reply.
log-scaled time course little better than linear time course scale.
Other way is to truncate the predictionsetvalues corresponding to last 5000 time points, where predictionsetvalues are virtually constant (no variation i.e., linear vs time-course end points).
I see some meaningful happening (non-linear) in the initial time points (1-10 s) later my predictionsetvalues are constant.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!