On 2010-06-07 18:05, Alan W. Irwin wrote:
> On 2010-06-07 12:25+0200 Arjen Markus wrote:
>> In the process I noticed:
>> - Example x17 (the stripchart demo) does not update the axis properly
>> - they are not cleaned up. This is the case for the C version too.
> Could you explain further the issue you noticed? The C version looks right
> to me, but that may be because I have seen it too many times! :-)
> Since you notice the same issue (whatever it is) for the C example 17,
> it be a device issue? Do you see the same issue for xcairo and qtwidget?
I will try another device. But the thing I see is that over the existing
axes new axes are drawn - with the labels and tickmarks in slightly
different positions. Also the data series are just drawn over the
>> - Example x19 sets the map transformation, but this influences the
>> examples x20 and x21 as well. Setting the transformation to NULL
>> makes the effect go away. Was that to be expected?
> I am surprised by that. Are you using the latest version of PLplot?
> One of the last commands in x19.tcl is
> $w cmd plstransform NULL
> (recently put there by Andrew) which works for tkdemos.tcl so I don't
> understand why that command is not working for the tcldemos.tcl case.
> BTW, my own feeling is we should put all restoration commands in
> tcldemos.tcl and tkdemos.tcl just like you are doing. So such restoration
> commands like above should be removed from x??.tcl once you are finished
> with tcldemos.tcl and tkdemos.tcl restoration work. Nevertheless, the above
> restoration command is there now in x19.tcl so I don't understand why it is
> currently not working for you for tcldemos.tcl unless you are running an
> version of PLplot.
The code I used dates from 28 may, it does contain precisely that
statement. Yet another puzzle to investigate.
I agree with your remark on the restoration code - that will make the
examples as close to the C ones as possible.