From: Michael H. <mh...@ka...> - 2004-10-17 21:17:29
|
Tom Kornack wrote: > Is there any access to terminal options? I'm using Mac OS X, so I'd > like to be able to modify the aqua window size, fonts, etc: > > set terminal aqua {<n>} {title "<wintitle>"} {size <x> <y>} {fname > "<fontface>"} {fsize <fontsize>} > > Whenever I try to issue: > > plotobj = Gnuplot.Gnuplot() > plotobj('set terminal aqua size 800 450 fname "ComputerModern" fsize 16') > > and plot something it doesn't seem to take. Where should I look? Hmmm, that's strange. I don't know why that wouldn't work. There is one peculiarity with respect to terminals: after a call to plotobj.hardcopy(), the terminal set has to be set back to the "non-printer" terminal. In practice it does this by setting it back to GnuplotOpts.default_term, which for Mac OS X is set in gp_maxosx.py to be 'aqua'. But if you haven't done a hardcopy() this shouldn't affect you. As with many other problems with Gnuplot.py, try setting the debug option: plotobj = Gnuplot.Gnuplot(debug=1) This will print out each of the commands being sent to the gnuplot program and should help you figure out where the problem lies. Michael -- Michael Haggerty mh...@al... |