Prev: Sine Wave Phase sequence comparison for Synchronization
Next: question about recent changes in 'eigs' and use on near-singularmatrices
From: Jason Riesbeck on 3 Feb 2010 14:07 Disabling Subscript formatting in figure titles: I have a bunch of figures that use file name strings as titles; problem is the file names have a lot of underscores in them (example ‘freq_plot_data.fig’). Matlab sees “_” as a formatting string and displays the “p” and “d” as subscripts. Can I turn this off? I know if I change the string to ‘freq\_plot\_data.fig’ it will display correctly but I don’t want to have to add slashes to all of the strings. Locking Axis Dimensions between subplots: I have a 3x1 subplot with time on the x-axis. I want to be able to zoom in on a portion of time in one plot and have the other two plot automatically change to the same x-axis dimensions. How can this be done? Thanks!
From: Walter Roberson on 3 Feb 2010 15:57 Jason Riesbeck wrote: > Disabling Subscript formatting in figure titles: > I have a bunch of figures that use file name strings as titles; problem > is the file names have a lot of underscores in them (example > ‘freq_plot_data.fig’). Matlab sees “_” as a > formatting string and displays the “p” and “d” > as subscripts. > Can I turn this off? A figure title is a text() object. You can set it's Interpreter property to 'none'.
From: Steven Lord on 3 Feb 2010 23:35
"Jason Riesbeck" <jason.riesbeck(a)lmco.com> wrote in message news:hkchh9$8u1$1(a)fred.mathworks.com... > Disabling Subscript formatting in figure titles: > I have a bunch of figures that use file name strings as titles; problem is > the file names have a lot of underscores in them (example > ‘freq_plot_data.fig’). Matlab sees “_” as a > formatting string and displays the “p” and “d” as > subscripts. > Can I turn this off? I know if I change the string to > ‘freq\_plot\_data.fig’ it will display correctly but I > don’t want to have to add slashes to all of the strings. As Walter said, change the Interpreter property of the text object whose handle is stored in the axes Title property. > Locking Axis Dimensions between subplots: > I have a 3x1 subplot with time on the x-axis. > I want to be able to zoom in on a portion of time in one plot and have the > other two plot automatically change to the same x-axis dimensions. > How can this be done? Use LINKAXES or LINKPROP. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ |