I have below the following information:
Q = [16,32,64,128,256,512,1024];
y = [9 9 9 9 5 0 0]*0.25;
y1 = [45 37 25 21 5 0 0]*0.25;
After multiplication with 0.25, they became as below
and the above Q is the same
when I use the semiology plot function as below
semilogy(Q,y,Q,y1)
xlabel('Q oder');
ylabel('Coverage area m^2');
grid on;
I saw the x and y axis are different than what I have in Q and Y as shown below. Does this make sense? Do I apply it in the wrong way? If yes, May you assist me?
CodePudding user response:
Check out xticks
.
xticks(Q)
You may also be interested in xticklabels
.
I don't have MATLAB here so I can't illustrate it, but it is what you are after.