[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple widget_draw's and bad convert_coord

Ben -

Thanks... saving and restoring those values worked perfectly. I knew I'd 
find a good solution on this newsgroup!


 Ben Tupper <btupper@bigelow.org> wrote:
> > convert_coord always returns the
> > coordinates from the last plot even if I'm clicking in the first plot,

> Yes, in direct graphics the *LAST* coordinate conversion parameters
> (scaling and offset values for the plot) are saved... earlier parameters
> get bumped out and like my hero, Bill Bradely, are quickly forgotten.
> I have amended your code below (I've never used common blocks before...
> it worked here but you never know what my wealth of brute force and
> ignorance will lead to.)