how to define multiple scales for x axis in one graph
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,I want to define x axis with multiple scales for different time ranges in the same axis in one graph. for example
0 to 5 minutes to be shown in a 1-minute interval,
5 to 20 minutes: 5-minute interval
20 to 100 minutes: 15-minute interval
100 to the end: 1-minute interval.
I tried to seperate data and define intervals for them seperately by using tilespacing and xTick functions, but I don't know how to keep all the intervals at the same time.
I went through the foroum but couldn't find something similar.
2 Kommentare
Dyuman Joshi
am 23 Apr. 2021
Not sure if I understand what you can actually want, but try this
xticks([0:4 5:5:20 20:15:100 100:end_value])
Antworten (1)
AKennedy
am 15 Mai 2024
Hi Farnaz,
The "addaxis" allows you to add multiple axes to you figure.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Title finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!