Approximately equal sign in matlab plot

Antworten (1)

dpb
dpb am 15 Mai 2017
Bearbeitet: dpb am 17 Mai 2017

1 Stimme

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.

Kategorien

Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Mai 2017

Bearbeitet:

am 15 Aug. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by