-----Original Message----- From: ANDREW ROSS [mailto:[email protected]] On Behalf Of Andrew Ross Sent: Saturday, February 25, 2012 1:44 AM To: Plplot-general mailing list Cc: Quezada, Marco Subject: Re: [Plplot-general] Axes not showing.
On Fri, Feb 24, 2012 at 10:08:34AM -0800, Alan Irwin wrote: > On 2012-02-24 17:20-0000 Quezada, Marco wrote: > > > > > Would anyone have an idea for why the viewport will show the plots for the > > data but the axes > > and the bounding box are not present? I even tried calling plflush() after > > adding the data but > > the refreshed image still only shows the data lines only. > > Hi Marco: > > Your report currently gives too little details to allow us to help you out. > > So please give the simplest possible example that shows the exact > issue so we have a concrete demonstration of the issue. I emphasize > "simplest possible example" because that should always be the first > step in debugging in any case and because none of us are likely to > have the time/motivation to work with a debugging example that is too > complicated. > > For that simplest example I suggest you follow closely the model of > our simplest standard example, examples/c/x00c.c, in the current svn > trunk version. Except, of course, include the variation of that code > that suppresses the axes and bounding box similar to your current much more > complicated example that demonstrates the issue. And, of course, that > effort on your part to replicate the problem in a simple way may be all > the debugging you need to do to find the source fo the problem. > > By the way, if you don't want to download PLplot svn trunk, then the > standard x00 code is available from the web at > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/examples/c/x00c.c?revision=12175&view=markup. > The equivalent code is also available in Fortran 95 > (examples/f95/x00f.f90) and Tcl (examples/tcl/x00.tcl) and soon should > be propagated to the rest of our languages as well because the > simplest possible example is often so useful for for debugging > purposes (as now) and also as a quick-start tutorial. > >Co-incidentally I got round to this last night so example 00 is now available >for all languages in trunk. > >Andrew Thanks for the info, I will keep it in mind. The problem I am experiencing now seems to be more of an fltk/cairo problem where the context draws the axes when I create the plplot window but then when the data is added at a later time with plline fltk clears the context, removing the axes and draws only the data. -Marco ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
