Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于我的条形图,我只想在 x 轴上显示第一个和最后一个值。有没有办法在 Matlab 中做到这一点?
另一种方法是:
plot(...),xlim([xmin xmax])
是的,使用xtick([first last])。
xtick([first last])