> Warwick wrote: Is there an easy way I can set a default to a publication figure?
Certainly Warwick. Create a new file in the plt folder called pltpub.m which contains this:
function out = pltpub(varargin)
out = plt(varargin{:},...
'ColorDef',0,...
'TraceID',0,...
'Options','-AN');
Then for example you can type something like "pltpub(x,[y1;y2;y3])" and those 3 traces will be plotted using parameters appropriate for generating publication hardcopy.
Thanks for your rating and comments Warwick.
Comment only
10 Nov 2011
plt
An alternative to plot and plotyy optimized for data exploration
This is great. So many ways it is better than plotyy. Is there an easy way I can set a default to publication figure so I don't have to type in "Colordef, 0, 'traceID, '', Options, '-All NoCursor' each time?
If not, it's a small price to pay for the time I have saved compared to the "old" way.
5
13 Jul 2011
plt
An alternative to plot and plotyy optimized for data exploration
Awesome stuff!
I've just started experimenting with this type of sliderbar interface, and it's incredibly useful. You're functions were extremely instructive.
5
01 Nov 2010
plt
An alternative to plot and plotyy optimized for data exploration
> Marc wrote: Is it possible to link multiple traces to one color?
Hi Marc ... Thanks for the great rating.
And yes you can set the trace colors quite easily. Note that if you type "plt(rand(6,30))" the 6 traces will appear in a different color for each trace, but if you type "plt(rand(6,30),'TraceC',[0 1 0]) then all 6 traces will be green. or use 'TraceC',[0 1 0; 1 0 0] and the odd numbered traces will be green and the evens will be red. Hope that helps :)
~Paul
Comment only