* gnuplot & Digital Unix4.0 incompatbile?
@ 1997-05-05 4:00 John VanMeter
1997-05-06 4:00 ` Mark Taylor
0 siblings, 1 reply; 4+ messages in thread
From: John VanMeter @ 1997-05-05 4:00 UTC (permalink / raw)
We are having a problem running gnuplot under Digital Unix 4.0. In
particular, the plots come up all white regardless of how the colors are
defined. Has anyone else experience this and if so do you have any work
arounds?
Thanks,
-John VanMeter
-------------------------------------------------------------------
John VanMeter, PhD. email: johnvm@sensor.com
Director of Research and Development phone:(703)437-7651 ext 613
Sensor Systems, Inc. URL: http://www.sensor.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnuplot & Digital Unix4.0 incompatbile?
1997-05-05 4:00 gnuplot & Digital Unix4.0 incompatbile? John VanMeter
@ 1997-05-06 4:00 ` Mark Taylor
1997-05-07 4:00 ` John Kohl
0 siblings, 1 reply; 4+ messages in thread
From: Mark Taylor @ 1997-05-06 4:00 UTC (permalink / raw)
On Mon, 05 May 1997 18:46:01 -0600 John VanMeter (johnvm@sensor.com) wrote:
>We are having a problem running gnuplot under Digital Unix 4.0. In
>particular, the plots come up all white regardless of how the colors are
>defined. Has anyone else experience this and if so do you have any work
>arounds?
Well, it's not incompatible because we've got it working,
both on 4.0A and 4.0B, and Gnuplot versions 3.5 (from the DEC
freeware binaries CD) and a pre-3.6 (compiled from source by
ourselves). Didn't have any problems, so can't really help
you out though.
-----------------------------------------------------------------------
| Mark Beauchamp Taylor - physicist trapped in a chemist's body. |
| mark.taylor@bris.ac.uk http://zeus.bris.ac.uk/~chmbt/index.html |
| Department of Chemistry, University of Bristol, UK -------
-----------------------------------------------------| ... It's the future! |
------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: gnuplot & Digital Unix4.0 incompatbile?
1997-05-06 4:00 ` Mark Taylor
@ 1997-05-07 4:00 ` John Kohl
1997-05-08 4:00 ` John VanMeter
0 siblings, 1 reply; 4+ messages in thread
From: John Kohl @ 1997-05-07 4:00 UTC (permalink / raw)
I too had problems with gnuplot and Digital UNIX v4.0b on my PBXGB-AA
video card.
This patch to gplt_x11.c seems to fix the problem. I'm guessing it's a
pixmap caching issue in the X server. Whether or not it's a bug in the
X server, I don't know.
*** 1.1 1997/05/06 18:05:44
--- gplt_x11.c 1997/05/06 18:05:56
***************
*** 514,519 ****
--- 514,521 ----
}
}
+ /* set new pixmap as window background */
+ XSetWindowBackgroundPixmap(dpy, win, pixmap);
/* trigger exposure of background pixmap */
XClearWindow(dpy,win);
XFlush(dpy);
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: gnuplot & Digital Unix4.0 incompatbile?
1997-05-07 4:00 ` John Kohl
@ 1997-05-08 4:00 ` John VanMeter
0 siblings, 0 replies; 4+ messages in thread
From: John VanMeter @ 1997-05-08 4:00 UTC (permalink / raw)
John Kohl wrote:
>
> I too had problems with gnuplot and Digital UNIX v4.0b on my PBXGB-AA
> video card.
>
> This patch to gplt_x11.c seems to fix the problem. I'm guessing it's a
> pixmap caching issue in the X server. Whether or not it's a bug in the
> X server, I don't know.
>
> *** 1.1 1997/05/06 18:05:44
> --- gplt_x11.c 1997/05/06 18:05:56
> ***************
> *** 514,519 ****
> --- 514,521 ----
> }
> }
>
> + /* set new pixmap as window background */
> + XSetWindowBackgroundPixmap(dpy, win, pixmap);
> /* trigger exposure of background pixmap */
> XClearWindow(dpy,win);
> XFlush(dpy);
That worked like a charm!
Thanks for you help,
-John
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-05-08 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-05 4:00 gnuplot & Digital Unix4.0 incompatbile? John VanMeter
1997-05-06 4:00 ` Mark Taylor
1997-05-07 4:00 ` John Kohl
1997-05-08 4:00 ` John VanMeter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox