Approximately equal sign in matlab plot
73 次查看(过去 30 天)
显示 更早的评论
Hi! I want to plot approximately equal sign on one axe of my plot in Matlab.
0 个评论
回答(1 个)
dpb
2017-5-15
编辑:dpb
2017-5-17
Get pretty close approximation (so to speak :) ) that way...
hAx=axes;
xlim([0,27])
set(hAx,'xtick',[0 15 25])
hT=text(7.5, 0.0, '\approx', ...
'fontsize',14,'fontweight','bold', ...
'rotation',90,'horizontalalign','center');
produces
You'll have to rig up the actual axis limits it you want the asymmetrical ticks vis a vis position. Depending on what you actually have, may be able to just use 'xticklabel' with appropriate values at existing tick locations.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!