the dvips config-thing worked fine - thanks! And yes, maxima creates a script and a data file for gnuplot to plot. I've copied one for you here, though it seems that now sometimes it works fine, sometimes it don't. Looks like it's a bit more willing to do what I want it to if I run the script in gnuplot a couple of times, though it sounds weird. But here goes:
-------- #!/sw/bin/gnuplot -persist # # # G N U P L O T # Version 3.8j patchlevel 0 # last modified Wed Nov 27 20:49:08 GMT 2002 # System: Darwin 7.2.0 # # Copyright(C) 1986 - 1993, 1999 - 2002 # Thomas Williams, Colin Kelley and many others # # This is a pre-version of gnuplot 4.0. Please refer to the documentation # for command syntax changes. The old syntax will be accepted throughout # the 4.0 series, but all save files use the new syntax. # # Type `help` to access the on-line reference manual # The gnuplot FAQ is available from # http://www.gnuplot.info/faq/ # # Send comments and requests for help to <info-gnuplot- [EMAIL PROTECTED]> # Send bugs, suggestions and mods to <info-gnuplot- [EMAIL PROTECTED]> # # set terminal x11 # set output unset clip points set clip one unset clip two set bar 1.000000 set border 31 lt -1 lw 1.000 set xdata set ydata set zdata set x2data set y2data set boxwidth set style fill empty border set dummy u,v set format x "% g" set format y "% g" set format x2 "% g" set format y2 "% g" set format z "% g" set angles radians unset grid set key title "" set key right top Right noreverse enhanced box linetype -2 linewidth 1.000 samplen 4 spacing 1 width 0 height 0 autotitles unset label unset arrow unset style line unset style arrow unset logscale set offsets 0, 0, 0, 0 set pointsize 1 set encoding default unset polar set parametric unset decimalsign set view 54, 137, 1, 1 set samples 100, 100 set isosamples 10, 10 set surface unset contour set clabel '%8.3g' set mapping cartesian set datafile separator whitespace set hidden3d offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set cntrparam order 4 set cntrparam linear set cntrparam levels auto 5 set cntrparam points 5 set size ratio 0 1,1 set origin 0,0 set style data lines set style function lines set xzeroaxis lt -2 lw 1.000 set yzeroaxis lt -2 lw 1.000 set x2zeroaxis lt -2 lw 1.000 set y2zeroaxis lt -2 lw 1.000 set tics in set ticslevel 0.5 set ticscale 1 0.5 set mxtics default set mytics default set mztics default set mx2tics default set my2tics default set mcbtics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set cbtics border mirror norotate autofreq set title "" 0.000000,0.000000 font "" set timestamp "" bottom norotate 0.000000,0.000000 "" set rrange [ * : * ] noreverse nowriteback # (currently [0.00000: 10.0000] ) set trange [ * : * ] noreverse nowriteback # (currently [-5.00000: 5.00000] ) set urange [ * : * ] noreverse nowriteback # (currently [-5.00000: 5.00000] ) set vrange [ * : * ] noreverse nowriteback # (currently [-5.00000: 5.00000] ) set timefmt x "%d/%m/%y,%H:%M" set timefmt y "%d/%m/%y,%H:%M" set timefmt z "%d/%m/%y,%H:%M" set timefmt x2 "%d/%m/%y,%H:%M" set timefmt y2 "%d/%m/%y,%H:%M" set timefmt cb "%d/%m/%y,%H:%M" set xlabel "" 0.000000,0.000000 font "" set x2label "" 0.000000,0.000000 font "" set xrange [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set x2range [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set ylabel "" 0.000000,0.000000 font "" set y2label "" 0.000000,0.000000 font "" set yrange [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set y2range [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set zlabel "" 0.000000,0.000000 font "" set zrange [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set cblabel "" 0.000000,0.000000 font "" set cbrange [ * : * ] noreverse nowriteback # (currently [-10.0000: 10.0000] ) set zero 1e-08 set lmargin -1 set bmargin -1 set rmargin -1 set tmargin -1 set locale "C" set pm3d scansautomatic flush begin noftriangles nohidden3d transparent implicit corners2color mean unset pm3d set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB set palette rgbformulae 7, 5, 15 set colorbox default set colorbox vertical origin 0.9,0.2 size 0.1,0.63 bdefault set loadpath set fontpath set fit noerrorvariables splot 'maxout.gnuplot' set term postscript eps color set out 'filename.eps' replot set terminal x11 # EOF The last three lines are added by me.And, as mentioned, somtimes it works now, sometimes it don't, and thet sometimes again it works when I tell it to one extra time. /Thoger Martin Costabel <[EMAIL PROTECTED]> said: > Th�ger Juul Thorsen wrote: > > > Hmm.... I tried what you told me, and got the following response: > > > > This is dvips(k) 5.92b Copyright 2002 Radical Eye Software > > (www.radicaleye.com) > > ' TeX output 2004.02.01:1800' -> |lpr > > <texc.pro><f7b6d320.enc><aae443f0.enc><bbad153f.enc><texps. > > pro><special.pro> > > <cmsy8.pfb>lpr: error - scheduler not responding! > > Broken pipe > > This comes from the dvips configuration. It sends (or tries to send, > anysay) the output to the printer instead of a file. You should use on > the command line > > dvips -o file.ps file.dvi > > Alternatively, you can set this in the dvips configuration, either by > running sudo texconfig or by editing one of the dvips/config/ config.ps > files. You have probably several of these that are read and used in a > certain order. The best is to copy one into your own ~/Library/ texmf > directory (create it if it doesn't exist). This will then take > precedence over the others. There are lines like > > % How to print, maybe with lp instead lpr, etc. If commented-out, output > % will go into a file by default. > o |lpr > > Comment out the last of these, or remove the "|lpr". > > > This must be due to the last tetex-update, for it used to work fine > > before that (I've used pdflatex since then). It works fine with dvipdf, > > tthough, so it doesn't really bug me. > > > > Anyway, abbbout that maybe-bug, what are you thinking of - in > > gnuplot or in Maxima? I'd like to try finding out what's wrong but I'm > > afraid I don't really know what to look for... > > No idea about this. Is maxima producing a script for execution by > gnuplot or is this all some internal collaboration between the two? If > there is such a script, you could perhaps post it. > > -- > Martin > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
