Your code works already in octave (and I don't have matlab at this computer), but I think the problem is that you do hold on before the first plot, hence preventing the initial axis to be created. try this: figure(1); clf x = linspace(0,1,100); y = exp(-x); semilogy(x, y); hold on; semilogy(x, 2*y); hold off; NettetVector and Matrix Data. example. semilogy (X,Y) plots x - and y -coordinates using a linear scale on the x -axis and a base-10 logarithmic scale on the y -axis. To plot a set of coordinates connected by line segments, specify X and Y as vectors of the same length. To plot multiple sets of coordinates on the same set of axes, specify at least ...
半对数图(y 轴有对数刻度) - MATLAB semilogy - MathWorks
Nettet18. aug. 2024 · matlab中对数坐标画图下的hold on 位置 ... 1、figure后,直接hold on,虽然用semilogy画图,但是纵轴依然是十进制,semilogy没有生效 figure hold onsemilogy(ber(1,:),charmod(1,:)); semilogy(ber(2,:),charmod ... Nettet14. feb. 2024 · I am trying to set the size of my graph. I simply added at the end of set 'units','points','position', [70,70,750,200], as you can see in the code. Unfortunatlly it appears a truncated plot. How can I see the whole plot with the dimension I settled? tickposx = [30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 … check point ips blade
Matlab中semilogy函数使用-CSDN博客
NettetVector and Matrix Data. example. semilogy (X,Y) plots x - and y -coordinates using a linear scale on the x -axis and a base-10 logarithmic scale on the y -axis. To plot a set … NettetThis is especially true if the coefficients are not constrained: with the forms of the two terms being the same, exchanging the three model parameters between the two terms gives … Nettet17. jun. 2016 · Answers (1) Dennis Dunn on 2 Feb 2024 2 Link Helpful (0) I still have the same problem you did, except I called "hold on" before making individual semilogx … flat light to ceiling