Re: Changing axis ticks multiple times?
Al Hooton <[email protected]>
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Never mind, I figured it out. For anybody else that gets stuck on this: while it appears that some of the items in/on a plot will refresh when the plot is refreshed, the axis ticks/labels are not. In order to refresh these, you have to refresh the underlying canvas the plot is on. On Sat, 2004-01-24 at 00:42, Al Hooton wrote: > OK, so I must be missing something here... When I first create a > plot, I have correctly connected a custom tick handler, and I get the > results I expect when I call gtk_plot_axis_set_ticks -- my ticks are > generated as I want. > > However, I can never seem to change them again. I have tried several > things, including repainting the plot and/or the axis widget after > changing my custom tick handler and then again calling > gtk_plot_axis_set_ticks, but the ticks *never* change from the way they > were first generated. > > How can I change the ticks again after they have been set up the first > time, and get the changes to display? I know there must be a way to do > this, I'm just missing it after several hours of poking through the > gtkextra code. > > Thanks for any help!! > > -Al > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Scigraphica-gtkextra mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > > <!DSPAM:4018ce7f249841588756111> ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn