I now am seeing red also, at version 10314.

Comparing SVG files for C and Ada on Example 1:
   The file sizes are the same;
   There are 535 differences;
   Every difference (date excepted) is due to either
     stroke="#FF0000"
   or
     fill="#FF0000"
   in the Ada-generated file.

That's a lot of red.

The same experiment on PostScript files:
   File sizes same
   13 differences
   Every difference is exactly due to
     1.0000 0.0000 0.0000 C
   in the Ada-generated file
   where in the C-generated file there was
     x y z C where x, y, z are floats of various values.

I'm going to take a wild guess that
   r g b C
sets the color in PostScript.


Using the -cmap0 option, these files work correctly
   cmap0_black_on_white.pal
   cmap0_default.pal
   cmap0_white_bg.pal
whereas this one makes red
   cmap0_alternate.pal


Disassembling the red SVG file for Ada example 1 with a graphics  
program shows a red rectangle for (I suppose) the background and  
correctly-drawn plots but all in red. There is no text--no numbers on  
the axes and no labels--but this is likely due to the graphics program  
as is complains of missing fonts when I open the file with it.

Incidentally, the curve on the lower left-hand plot appears to be too  
thick--about twice the thickness of the others--but this is also true  
of the SVG result made with e.g. x01c using either the svg or svgqt  
drivers. Also, those SVG files displace the "data points" on the upper  
two graphs--svgqt upwards and svt downwards, but this is perhaps for  
another thread.

Something happened between I think versions 10303 and 10312 to cause  
all this red.

Jerry


On Aug 21, 2009, at 1:19 PM, Jerry wrote:

> I have just committed the changes to the Ada bindings that implement
> plspal0 and plspal1; the odd results that Alan and Andrew reported
> were without those functions implemented. Prior to this commit, there
> were no calls to either plspal0 or plspal1 in any of the Ada examples.
> Now, Ada examples 16 call both. I don't see how this can fix the
> problem, however.
>
> Jerry
>
> On Aug 21, 2009, at 5:34 AM, Andrew Ross wrote:
>
>>
>> As a second report, I can confirm that I also see this. Using -cmap0
>> on the
>> command line to set the default palette cures the problem, so it
>> looks like
>> it is somewhere in the initialisation. This just seems to be an Ada
>> issue,
>> and happens for all the drivers I've tried. This is odd since with  
>> the
>> thin bindings Ada should just be making the same plplot calls as all
>> the other
>> languages.
>>
>> Andrew
>>
>> On Fri, Aug 21, 2009 at 02:13:40AM -0700, Jerry wrote:
>>> My working copy is 10303 and it is OK. The last change to plplot.h
>>> was
>>> in 10302. Not sure what is happening here.
>>> Jerry
>>>
>>>
>>> On Aug 20, 2009, at 12:52 PM, Alan W. Irwin wrote:
>>>
>>>> I presume this has something to do with the recent core cmap[01]
>>>> changes.
>>>> Hopefully, the fix can be found in a hurry because I think  
>>>> otherwise
>>>> this
>>>> would be a showstopper for the release
>>>>
>>>> Alan
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports
>>> 2008 30-Day
>>> trial. Simplify your report design, integration and deployment -
>>> and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Plplot-devel mailing list
>>> Plplot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to