Re: [AQT-user] AquaTerm background color using PGPLOT
Brought to you by:
persquare
From: Per P. <per...@ma...> - 2005-10-20 07:36:47
|
Joe, Nathan, I had a quick look and this might be a real bug, because I've never got the hang of the way pgplot handles new plots (e.g. press return for next page). In order for the examples provided with pgplot to work, the background color needs to be automatically reset for new plots, i.e. the background color set by the user doesn't stick between plots. Try setting back color as the first thing on every new plot. Also, could you please state the versions of AquaTerm as well as pgplot (fink version is OK). Joe, Did you try restricting the minimum line with in AQT preferences? Pgplot was the major reason I added that feature. WRT PLplot, (your previous post got lost in my inbox, sorry) there is a misprint in AQT docs, it is 5.5.1 that should work out-of-the box. I'll have a look a the situation with PLplot, but I can't promise on a delivery date. Best regards, Per On Wednesday, October 19, 2005, at 09:57PM, Joe Koski <jko...@co...> wrote: >Nathan, > >There is some discussion on the pgplot web site about the use of UNIX >environment variables to change the background color for X11 plots with >pgplot, but when I tried the approach with aquaterm, it did not work. If you >have X11 installed on your Mac, you might try reading up on the changes and >run octave from within an X11 xterm. > >Otherwise, I've also had problems with the weak, narrow lines that pgplot >uses with aquaterm, so I've gone to the newer, and currently supported >PLplot. (If you install PLplot, install it from Fink or Darwinports. The >current version has build problems on a Mac.) > >While pgplot is still there, it no longer seems to be under active >development. My e-mails to the developer have been unanswered. > >Joe > > >on 10/19/05 11:26 AM, Nathan Nutter at nat...@gm... wrote: > >> I emailed the PGPLOT developer too, but here is my question: >> >> I installed PGPLOT using Fink on Mac OS X and I am using AquaTerm as >> my display adapter. I would like to change the colors so that it is >> white on black, is this possible with the AquaTerm driver? So far my >> attempt with pgscr has not worked. I seem to able to use pgsci OK but >> not able to change the background color to white. I would really like >> to be able to print from AquaTerm. >> >> Here is what I am doing: >> if(pgopen('/AQT') .le. 0) stop >> call pgpage >> call pgscr(0, 0.5, 0., 0.) >> call pgeras >> call pgsci(1) >> call pgenv(0., 4., 0., 4., 0, 1) >> call pglab('x(n)', 'x(n + 2)', 'The Logistic Map') >> call pgpt(n, x, y, 9) >> call pgend >> What happens is a AquaTerm window opens up red, the terminal say >> press return for next page, I press return and the points and grid >> get drawn on the screen but it overwrite the red background with black. >> >> I can use pgsci to change the color of the foreground but pgsci(0) >> draws the foreground black not red like it should be set to from my >> code. >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Aquaterm-user mailing list >> Aqu...@li... >> https://lists.sourceforge.net/lists/listinfo/aquaterm-user > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >Aquaterm-user mailing list >Aqu...@li... >https://lists.sourceforge.net/lists/listinfo/aquaterm-user > > |