Re: GtkPlot with multiple datasets
"Luis A. Montes" <[email protected]> Fri, 28 Oct 2011 12:20:50 -0700
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Organization | Quantum Design |
| Message-ID | <1319829650.21084.1485.camel@firmware> |
Thanks both for your answers, I did try gtk 3.0.1 under Linux (Ubuntu 10.04) and the tests work. On Windows pkg-config --modversion gtk+-2.0 reports 2.22.0, on ubuntu I get 2.20.1. What do you get under solaris? I'm going to try installing 2.20 on windows, perhaps that has something to do with the tests not working? Some deprecated functions might have gotten nuked. Thanks Luis On Fri, 2011-10-28 at 18:53 +0200, Fredy Paquet wrote: > Hello Luis > > The plot widgets of gtkextra-3 are working properly on Solaris here. > > I did a few tests on MinGW today and can confirm the drawing problem. > > >From gtkextra-2 to gtkextra-3, the drawing base was rewritten to use Cairo. > The sheet code in gtkextra-3 is still based on GDK and has not yet been > rewritten. > > fp > > --On Thursday, October 27, 2011 1:24:03 PM -0700 "Luis A. Montes" > <[email protected]> wrote: > > > I've been trying to use GtkExtra, specifically gtk plot to produce some > > simple graphs. I have a single plot on a canvas, and then I add one > > dataset. That seems to work. But when I add a second one using: > > > > pImpl->m_dataset[n] = GTK_PLOT_DATA(gtk_plot_data_new()); > > gtk_plot_add_data(GTK_PLOT(pImpl->m_plot), pImpl->m_dataset[n]); > > > > and then I try to set a different symbol for the second one using: > > > > gtk_plot_data_set_symbol( > > pImpl->m_dataset[n], symbol, GTK_PLOT_SYMBOL_OPAQUE, > > 5, 1, > > &pImpl->m_color[color_ndx],&pImpl->m_color[color_ndx] > > ); > > > > It ends up using the same symbol for both. The odd part is that the > > legend does show different symbols for each data set. It actually seems > > as if the two datasets get spliced into one. > > Since I was using a sort of an old version, I downloaded the latest > > (3.0.1) and compiled it using mingw, but I found out that the tests > > (testgtkplot*) don't work any more. I do remember them working before. > > The changelog seems to imply that the GtkSheet part is working but the > > GtkPlot is not? Is there anybody working on fixing GtkPlot? I could > > help, but it'll be a steep learning curve for me. > > > > Thanks > > > > > > ------------------------------------------------------------------------- > > ----- The demand for IT networking professionals continues to grow, and > > the demand for specialized networking skills is growing even more rapidly. > > Take a complimentary Learning@Cisco Self-Assessment and learn > > about Cisco certifications, training, and career opportunities. > > http://p.sf.net/sfu/cisco-dev2dev > > _______________________________________________ > > Scigraphica-gtkextra mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra > > > > > ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev