Werner Smekal wrote:
> Hi Alban,
>
> On 11.05.2009, at 15:55, Alban Rochel wrote:
>
>   
>> Alan W. Irwin wrote:
>>     
>>>       
>> I've just tried on Tony's Mac (Qt 4.4.3), and what we observed was  
>> more
>> serious than what Werner reported: all the pages in the interactive
>> driver are blank.
>>     
>
> Even for multi-page plots, like x08? The first is blank but the  
> following show up.
>
>   
Yes.
>> However, the funny thing is that when rescaling the
>> window, the grey margins I added to keep a constant aspect ratio in  
>> the
>> plot appear. So it *is* actually drawing things, but not the plots (or
>> it plots a black rectangle over the whole).
>>
>> Werner, can you confirm that grey margins appear when you stretch the
>> window, even on the first pages?
>>     
>
> Yes, the grey margins appear. Another strange thing if you run example  
> x08: The first page is blank and the other pages show up. BUT if you  
> press Enter twice fast or the right mouse button the following page  
> shows up quickly and then again a blank screen.
>
>   
It looks like it superimposes the black rectangle used as background
*over* the plot.
>> If so, I may change part of the Qt
>> driver to make it closer to the one we use in QSAS (which works). This
>> was my first aim when developing the plplot driver, but it evolved  
>> much
>> as we discussed, finally using simpler structures, making the program
>> clearer.
>>
>> I cannot easily debug this issue as the only test machine for me is
>> Tony's laptop, and Tony cannot do the job as he doesn't know much of
>> this driver and already has plenty of things to do on QSAS.
>>     
>
> You could send me patches which I could try to apply and test. Or you  
> can even tell me what I should try to change to get results. I just  
> have no time to read the qt documentation to find my way through the  
> code and debug.
>
>   
Can you try this simple change, just to confirm the issue?:
Comment out lines 1380 to 1382 (painter->fillRect...). These lines draw
the background (margins and black background), removing them should
leave only the plots over whatever garbage is in graphic memory, which
could make the results hard to interpret.
> Regards,
> Werner
Alban

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to