[Pkg-octave-devel] Bug#474269: Bug#474269: octave-epstk: impossible to remove ticks

Thomas Weber thomas.weber.mail at gmail.com
Mon Apr 14 12:47:05 UTC 2008


Am Freitag, den 04.04.2008, 18:07 +0200 schrieb Francesco Potorti`:
> Package: octave-epstk
> Version: 2.2-8
> Severity: normal
> 
> Apparently there is no way of removing ticks from an axis, leaving just
> a simple line.  Either you remove it completely by making it invisible,
> or you have the ticks.
> 
> It should be possible to have a naked axis, without neither ticks nor
> values: if this is possible, it would be good to have a demo of it.

How about the following (taken from edemo3 and modified, see my
comment):

========================================================================
%%
%% Routine: Multi plot
%% (see demo3.png) 
%%
eopen('demo3.eps');
eglobpar;                     % get access to global parameters
esavpar;    % save default parameter

% set tics like Matlab
eAxesValueSpace=3;
eAxesTicLongLength=0.0
eAxesTicShortLength=0.0;
  % => no ticks

% simple plot
%eYAxisWestScaleType=2;
%eYGridVisible=1;
xData=0:0.1:2*pi;
eYAxisEastValueFormat=2;
eplot(xData,exp(sin(xData).*xData),'exp(sin(x)*x)',0,[1 0 0]);
eplot(xData,exp(cos(xData).*xData),'exp(cos(x)*x)',2,[0 0 1]);
eplot;

% close eps-file
eclose;
========================================================================

	Thomas






More information about the Pkg-octave-devel mailing list