From: Thorsten B. <tho...@do...> - 2011-05-20 09:41:44
|
Hi! I'm new to this mailinglist. I've started studying/using Plplot because we want to use Plplot within some of our software and I'll be the one to implement it. I've already installed Plplot (version 5.9.7) together with all necessary tools (CMake, in this case). I was then able to build PLplot and compile the examples. So far, so good. Development of our software currently is in Ada (and will stay in Ada as long as I'm to develop it). The OS used is Windows (in different flavours, currently I'm working on a Windows 7 machine). When running all examples as well as some other test programs of mine, I always get this error on the console that opens when starting a program: ---snip--- *** PLPLOT WARNING *** Unrecognized cmap0 format data line. Line is #000000 ---snap--- Also, the background color is always white, while all drawing (even if explicitly setting a pen color) is done in red. I read this thread ( https://sourceforge.net/mailarchive/message.php?msg_id=24879301 ) but although it seemed to be the same problem, it was not (but may be similar). I also read all the online documentation, but found no format description of the cmap0_default.pal file. I'm sure the file is found and read, because when I edit the file cmap0_default.pal, I can achieve better (and seemingly correct) results. I've added an additional "column" after all the color definitions in the cmap0 file. It currently looks like this ---snap--- 16 #000001 0 #ff0000 0 #ffff00 0 #00ff00 0 #7fffd4 0 #ffc0cb 0 #f5deb3 0 #bebebe 0 #a52a2a 0 #0000ff 0 #8a2be2 0 #00ffff 0 #40e0d0 0 #ff00ff 0 #fa8072 0 #ffffff 0 ---snap--- Et voilà: There is no error/warning output done to the console and the background is black, while drawings are done in red (or any other color, if explicitly setting apen color). To me it looks as if the format of the cmap0 file has changed, but this change is not (yet) reflected in the cmap0 being delivered. -- Gruß, Thorsten |