octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: print ('-depslatexstandalone', 'test.tex') now prints dashed line s?


From: John W. Eaton
Subject: RE: print ('-depslatexstandalone', 'test.tex') now prints dashed line s?
Date: Fri, 26 Oct 2007 14:04:34 -0400

On 26-Oct-2007, Schirmacher, Rolf wrote:

| Ok, now, Matlab offers a -deps and a -depsc device (among other ps devices).
| -deps plots black&white, i.e. all colors get black for simple line plots and
| no dashes. -depsc plots with colors, again no dashes. There are no "latex"
| devices within Matlab.
| 
| In octave, there are the "latex" devices, but no epsclatexstandalone, only
| epslatexstandalone.
| For comparison, -deps gives a coloured eps file with the second line dashed
| (so, 2 errors compared to Matlab, colour and dashes) and -depsc gives two
| lines colored, no dashes (i.e. the same as Matlab). Nevertheless, when doing
| the plots, there are some more differences about plotsizes, ticks, etc. and
| most notably, the octave/gnuplot result looks much better as the axis fix
| much more closely the data range.
| 
| My test was a simple
| 
| plot((0:0.1:2*pi), sin(0:0.1:2*pi), (0:0.1:2*pi), cos(0:0.1:2*pi))
| 
| which results in an x axis from 0 to 7 in Matlab and having curves stopping
| at 2*pi looks really awfull then...
| 
| For completeness, I was comparing Matlab 6.5 with the current windows binary
| distribution 2.9.15, so if you get different results ...
| 
| 
| So, we have really three issues here: 
| - the gnuplot eps terminal print results in coloured results even if b&w is
| requested by octave
| - octave goes with dashes at (pseudo)- b&w while matlab stays at solid (all
| defaults only)
| - as there are no "c" versions of the "latex" printers, the defaults seem to
| be strange to me (and as they do not exist in matlab, we are free to define
| reasonable defaults on our own).

OK, thanks for investigating.

Patches, anyone?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]