Hi Emile,
I'm glad the SVN checkout worked for you. I compared the Ada sources
for the 5.9.5 release and the current SVN and the only differences
relate to a problem that I fixed with the stripchart plot and adding a
user-specified labeling routine, meaning that none of the differences
appear to have been able to cause the problem. At this point, I'll
just have to say "I don't know" and wait to see if anyone else has
this problem.
Thanks for your comments.
Jerry
On Jan 3, 2010, at 1:14 AM, Emile Lunardon wrote:
Hi Jerry,
I have tested SVN this morning on Linux and most ADA examples I have
tested work fine now with colors. I have only found a black
rectangle with ADA example 31 but C and C++ examples 31 do the
same. This is may be not normal as it is written that this example
mostly outputs text, and that as part of the PLplot testing regime,
you
-- require that the text output match that of the C version,
x31c.c, exactly.
-- Therefore, certain extra measures were made in this Ada
version to assure that matching text is created.
That is indeed the case. In fact, command line output running Ada
matches command line output running C, even when there is no reason to
do so other than for testing purposes (which testing obviously extends
a bit beyond Postscript exactness). There is an exception, in
xthick31a.adb (the "thick-binding" Example 31) wherein some error
messages output the "thick" function names of the failed function
instead of the traditional PLplot names.
This piece of software looks great for Ada users. What would be
perfect is to have a pre-elaborated Windows GNAT Ada library in the
next release !
Thank you a lot
Emile
2010/1/3 Jerry <lancebo...@qwest.net>
Hi emile,
I'm the "Ada guy" for PLplot since I wrote and maintain the Ada
bindings.
I basically confirm your problem on OS X for 5.9.5, modulo black/
white/gray depending on the output device, for Example 1. (I haven't
checked other examples yet.) Converting color PS to PDF or starting
with a PDF directly, then opening in a graphics program, there is a
black rectangle hiding the entire page. When it is removed, the
plots appear underneath in black-on-white, no color. Some other
formats show similar oddities, with a gray translucent rectangle in
addition, or just a solid gray rectangle in the Qt Widget. SVG
output has an all-white rectangle covering all-white plots and text.
I don't know what to tell you at this point in order get a solution
but I'll continue to look into this. That this should appear is very
odd because all of the PLplot binding examples are rather rigorously
tested before release so that they generate identical Postscript
output as the C examples. In the case of Ada Example 1, the file
sizes (Ada vs. C) are identical but there are 16 lines which are
different, in that a few floating point numbers are different.
(Sorry for the detail but part of my purpose is for other PLplot
developers in case they have any ideas about what is wrong.)
For what it is worth, the current version from SVN works OK. If you
know how to download that I think your problem will be solved. In
the meantime, I'll see if there is any explanation for this problem
in the Ada code.
Sorry for the problem.
Jerry Back
On Jan 1, 2010, at 3:57 PM, emile lunardon wrote:
With PlPlot 5.9.5 running under Debian Lenny, the outputs of Ada
examples are generally full black rectangles. The only exceptions I
have noticed are for :
- The mode "monochrome Postscript file" where plots are well
readable but only in black over white.
- For example 29 where colored rectangles are visible.
All examples in C++ works fine with color.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast
and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast
and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general