How do I create a plot that is logscale in y and mixed log/linear scale in x?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am plotting a function on [0,180] that is nearly singular about 0. I want loglog over [0,10] and then semilogy over [10,180]. An example of the function is:
y=1/(1+2*k-cos(x)).^2;
where k is << 1.
2 Kommentare
dpb
am 16 Apr. 2014
Use
subplot(1,2)
to create two axes then adjust they're positions to fill in the space between, hiding the left y-axis on the RH axes. Set the two axes xlim property appropriately for the two ranges.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Log Plots 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!