I want to adjust the axis to be able to see dynamic, when I use xlsread
1 view (last 30 days)
Show older comments
As you can see from the subject line, I want to adjust the axis:
This picture above is the original picture. It has dynamic characteristic. So I want see it at a glance.
The bottom code is I tried... but, just scale information is changed.
%example code
Time4 = xlsread('power_elec.xlsx','a580:a1446');
power_Cool = xlsread('power_elec.xlsx','b580:b1446');
subplot(2,1,1), plot(Time2, power_elec)
ylabel('electrical power (kW)')
xlabel('Time (s)')
axis([9.5 40 68 80]) %I tried
set(gca,'YTick',[68:0.5:78]) %I tried
If anyone knows how to adjust it, please let me know.
0 Comments
Answers (1)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!