plot certain values in yaxis
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alba Cuevas
am 8 Aug. 2018
Kommentiert: Alba Cuevas
am 8 Aug. 2018
I have y06=[1.172 4.213E-01 9.562E-02 1.802E-02 3.950E-03 1.056E-03 3.218E-04 8.506E-05 1.704E-05 3.304E-06 5.482E-7 7.241E-8 1.569E-8 6.039E-9 3.114E-9 1.866E-9 1.226E-9 8.560E-10 6.245E-10 4.705E-10 3.634E-10 2.863E-10 2.290E-10 1.856E-10 1.521E-11 1.257E-10 1.048E-10 8.787E-11 7.415E-11 6.290E-11 5.361E-11 4.588E-11 3.942E-11 3.398E-11 2.939E-11 2.549E-11 2.217E-11 1.933E-11 1.689E-11 1.479E-11 1.297E-11 1.140E-11 1.004E-11 8.850E-12 7.815E-12 6.911E-12 6.119E-12 5.425E-12 4.815E-12 4.278E-12 3.805E-12 3.375E-12 3.009E-12 2.685E-12 2.399E-12 2.144E-12 1.919E-12 1.718E-12 1.539E-12 1.380E-12 1.238E-12 1.112E-12 9.989E-13 8.979E-13 8.077E-13 7.269E-13 6.546E-13 5.899E-13 5.318E-13 4.797E-13 4.330E-13 3.910E-13 3.533E-13 3.193E-13 2.888E-13 2.614E-13 2.367E-13 2.144E-13 1.944E-13 1.763E-13 1.600E-13 1.452E-13 1.319E-13 1.199E-13 1.091E-13 9.928E-14 9.041E-14 8.238E-14 7.511E-14 6.854E-14 6.258E-14 5.717E-14 5.227E-14 4.783E-14 4.380E-14 4.014E-14 3.681E-14 3.379E-14 3.104E-14 2.854E-14 2.626E-14]; xalt=0:10:1000; %(km)
plot(xalt(11:end),y06(11:end),'or')
But in the yaxis I want this interval: 1e-6:1e-2:1e-14 Someone knows how to do it???
2 Kommentare
KSSV
am 8 Aug. 2018
This limit 1e-6:1e-2:1e-14, is not correct. What you want to do? Have a look on axis, ylim and interp1.
Akzeptierte Antwort
jonas
am 8 Aug. 2018
Bearbeitet: jonas
am 8 Aug. 2018
1e-6:1e-2:1e-14
ans =
1.0000e-06
There are two reasons why this does not make any sense.
- The step size is larger than the entire span.
- The start value is larger than the end-value, with a positive step-size
Perhaps, what you are really looking for, is a logarithmic y-axis
set(gca,'yscale','log')

Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations 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!