could anyone help me how to solve the issue.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
code:
N_rng=[1 2 23];
dummyX = 1:length(N_rng);
figure
plot(dummyX,Y,'rs');
hold on;grid on;
ax = gca;
ax.FontSize = 12;
ax.TickDir = 'out';
ax.TickLength = [0.02 0.02];
ax.XTick = dummyX;
ax.XTickLabel = N_rng;
The above code gives the graph. but how to get the numbers[1 2 23] in the plot command instead of rs. Could anyone help me to fix the issue
Antworten (1)
Abraham Boayue
am 4 Apr. 2018
0 Stimmen
Try using the text funation in matlab.
1 Kommentar
Prabha Kumaresan
am 5 Apr. 2018
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!