Two different scales on same axis
Ältere Kommentare anzeigen
Hello Everyone,
I am working with the line plot and I want two different scales on X axis, like I want my plot start at 0 to 16 with 1 unit scale (i.e. 1,2,3,4,...,16). From point 17, I want scale to be 400 units up to 6000(i.e. 416, 816, 1216,...,6016).
Currently my plot has scale of 1 unit, i.e. 1,2,3,...,31.
Is there any command which can give me the scale which I want. 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,416,816,1216,1616,2016,2416,2816,3216,3616,4016,4416,4816,5216,5616,6016.
Any help would be appreciate.
Thank you.
2 Kommentare
dpb
am 11 Jul. 2016
You actually want the scale changed, or just the labels at the same points without changing the actual distance on the plot?
Darshan Patel
am 12 Jul. 2016
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!