Plot: varying X-axis Ticks

4 Ansichten (letzte 30 Tage)
SreeHarish Muppirisetty
SreeHarish Muppirisetty am 11 Dez. 2013
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 11 Dez. 2013
Bearbeitet: Azzi Abdelmalek am 11 Dez. 2013
This is not possible with linear scale. Maybe with log scale, you can get a representation close to what you want
  1 Kommentar
SreeHarish Muppirisetty
SreeHarish Muppirisetty am 11 Dez. 2013
Bearbeitet: SreeHarish Muppirisetty am 11 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by