Info
此问题已关闭。 请重新打开它进行编辑或回答。
customised x data clustered around 0 axis in matlab plot
1 次查看(过去 30 天)
显示 更早的评论
Hi
Can anyone help me solve this issuse
labels = [0 2000 4000 6000 8000 10000 12000];
disp(plot(X));
set(gca, 'XTick', 1:numel(labels));%this puts the labels at x=1,2,3,4,5,6,7
set(gca, 'XTickLabel', cellfun(@num2str,num2cell(labels), 'UniformOutput', false);
The numbers are clustered around the zero axis. How do I solve this
Thanks
Tino
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!