Re: Resetting axes ticks?

Al Hooton <[email protected]> Thu, 21 Oct 2004 16:29:23 -0700
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <1098401363.7108.111.camel@localhost>
	DOH!  Here are the attachments...

-Al

On Thu, 2004-10-21 at 16:15, Al Hooton wrote:
> 	OK, sorry for the delay on this, other parts of my app took my
> attention for a couple of days.
> 
> 	Here is my environment:
> 
> Mandrake 9.1 (2.4.21 kernel, pretty vanilla)
> glib 2.2.3
> gtk+ 2.2.4
> pango 1.2
> gtkextra - from CVS a couple of weeks ago
> 
> 	I can export both the plot and canvas it is on, and the text is there. 
> I have attached both these export postscript files.  In these examples
> the only text is the tick labels, but the problem affects any text on
> the plot (I have tried a number of experiments).
> 
> 	However, when viewing the plot on the screen, each of the text strings
> comes out as only a 1 or 2 pixel dot.
> 
> 	I'm really at a loss on this one, after going through a lot of the
> code.  Any ideas?
> 
> 	Thanks!
> 
> -Al
> 
> 
> On Mon, 2004-10-18 at 14:38, Adrian E. Feiguin wrote:
> > Are you using gtkextra under Linux or windows? If you try to export your 
> > plot as postscript using gtk_plot_export as in testgtkplot, do you get 
> > the text right?
> > Saludos,
> > <ADRIAN>
> > 
> > Al Hooton wrote:
> > 
> > >	Adrian,
> > >
> > >	Excellent, thanks!  The axis stuff is working correctly now.  Once I
> > >get the text problem solved, I'll be well down the road.
> > >
> > >
> > >	Just so you know -- even though there are a few rough spots getting on
> > >top of the new API, and GtkSheet may not end up doing what I want, I'm
> > >still very happy with GtkExtra, especially GtkPlot.  It is making my
> > >life much easier in many ways over writing my own 2d plotting system,
> > >and so far is doing everything I want as a plotting widget.
> > >
> > >	My suggestion (to everyone) for what to do immediately after a 1.0
> > >release -- we all need to jump in and put together some actual
> > >documentation for this thing.  Yes, I know about the GtkAda site.  I'm
> > >talking about real documentation that is included in the GtkExtra
> > >distribution and available online.  Eventually, documentation like the
> > >GTK+ documentation should be the goal, although that can be approached
> > >in phases (http://developer.gnome.org/doc/API/2.0/gtk/index.html for
> > >those that haven't seen it).  This should be a team effort -- we can't
> > >expect Adrian to do everything.  I can't do it all myself either, but
> > >I'd be willing to help out if we have several people committed to
> > >documenting GtkExtra, and somebody coordinating the documentation
> > >project to organize what the participants do.
> > >
> > >	Just a thought...
> > >
> > >Best,
> > >Al
> > >
> > >
> > >On Fri, 2004-10-15 at 11:39, Adrian E. Feiguin wrote:
> > >  
> > >
> > >>The problem is that you should not modify the ticks of one axis 
> > >>(remember that axes are objects now), but the ticks of the plot. So you 
> > >>should actually use gtk_plot_set_ticks instead. Look ate testrealtime, 
> > >>for instace. Saludos,
> > >><ADRIAN>
> > >>
> > >>Al Hooton wrote:
> > >>
> > >>    
> > >>
> > >>>	Prior to the latest changes to gtkextra-2, I was able to successfully
> > >>>change the number & increment of ticks in a plot by simply calling
> > >>>gtk_plot_axis_set_ticks().  I could call it repeatedly, and my changes
> > >>>would always be reflected with the canvas repainted the plot.
> > >>>
> > >>>	However, now my changes only stick the first time.  I call
> > >>>gtk_plot_axis_set_ticks() and it works once.  Everytime I call it after
> > >>>that it seems to do nothing, even though I am repainting the
> > >>>canvas/plot, etc.
> > >>>
> > >>>	Ideas where to look?
> > >>>
> > >>>	Thanks!
> > >>>
> > >>>-Al
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>-------------------------------------------------------
> > >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> > >>>Use IT products in your business? Tell us what you think of them. Give us
> > >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> > >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > >>>_______________________________________________
> > >>>Scigraphica-gtkextra mailing list
> > >>>[email protected]
> > >>>https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra
> > >>>
> > >>>.
> > >>>
> > >>> 
> > >>>
> > >>>      
> > >>>
> > >>
> > >>-------------------------------------------------------
> > >>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> > >>Use IT products in your business? Tell us what you think of them. Give us
> > >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> > >>http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > >>_______________________________________________
> > >>Scigraphica-gtkextra mailing list
> > >>[email protected]
> > >>https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra
> > >>
> > >>
> > >>
> > >>    
> > >>
> > >
> > >.
> > >
> > >  
> > >
> > 
> > 
> > 
> > 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Scigraphica-gtkextra mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra
> 
> 
> <!DSPAM:417844b398914603145649>
canvas.ps (application/postscript, 19.5 KB) - not displayed
plotBase.ps (application/postscript, 19.4 KB) - not displayed