Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread Hazen Babcock
Schwab,Wilhelm K wrote: Alan, Hazen, I certainly can figure out how to build the library, but it would *really* be nice to have it in the plplot9-driver-cairo package. Never hurts to ask :) However, it turns out not to be magic fix, as the memory layout is ARGB vs. RGBA: /*

Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread simon
If are willing to use bleeding edge PLplot (v11198), we now have a function called plsmema() that you can use to pass RGBA formatted memory to PLplot. You will also have to use the memcairo driver as it is the only one that can take advantage of memory formatted in this way. Don't worry

Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread Schwab,Wilhelm K
Hazen, plsmema() sounds like a/the answer. For the moment (time pressure is mounting), I am going to hack a most-recent-graph temp file, hold my noseg and get some work done with a crude interactive plotting capability that will hopefully get me through the next couple of weeks. Thanks!

[Plplot-devel] plenv() axis parameter

2010-09-22 Thread Schwab,Wilhelm K
Is there any bit arithmetic behind this from the manual: axis = -2: No box or annotation. axis = -1: Draw box only. axis = 0: Draw box, labeled with coordinate values around edge. axis = 1: In addition to box and labels, draw the two axes X = 0 and Y = 0. axis = 2: Same as axis =

Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread Alan W. Irwin
Hi Hazen: On 2010-09-22 10:48-0400 Hazen Babcock wrote: Schwab,Wilhelm K wrote: Alan, Hazen, I certainly can figure out how to build the library, but it would *really* be nice to have it in the plplot9-driver-cairo package. Never hurts to ask :) However, it turns out not to be magic

Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread Alan W. Irwin
On 2010-09-22 15:32-0700 Alan W. Irwin wrote: Back in the mists of time, I figured out a way (I think with display options) to show a semi-transparent background for real, i.e., without the checkboard and with the desktop (whatever it is) showing through the plotted image. That was a really

Re: [Plplot-devel] plenv() axis parameter

2010-09-22 Thread Hezekiah M. Carty
On Wed, Sep 22, 2010 at 3:27 PM, Schwab,Wilhelm K bsch...@anest.ufl.edu wrote: Is there any bit arithmetic behind this from the manual:   axis = -2: No box or annotation.   axis = -1: Draw box only.   axis = 0: Draw box, labeled with coordinate values around edge.   axis = 1: In addition to

Re: [Plplot-devel] plsmem(), RGB+alpha vs. RGB?

2010-09-22 Thread chm
On 9/20/2010 6:40 PM, Hazen Babcock wrote: Schwab,Wilhelm K wrote: First, are any of you using plsmem() to obtain graphs w/o saving them to a file? Encouragement in the form of success stories or warnings of trouble spots would be greatly appreciated. Another question that has