2 Feb 2004 22:23
Re: Changing axis ticks multiple times?
Adrian E. Feiguin <afeiguin <at> UCI.EDU>
2004-02-02 21:23:18 GMT
2004-02-02 21:23:18 GMT
Sorry for not replying before. That's true, this actually happens with all the changes you make on a plot. I you replot everything for every single change, it could be too time consumming, so you want to make all the changes first, and then replot. Saludos, <ADRIAN> Al Hooton wrote: > 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(Continue reading)
RSS Feed