>
> Hello,
> I am starting with plplot and Qt, looking at the example
> examples/c++/README.qt_example
>
> It works correctly and I am now proceeding in creating a custom widget to
> encapsulate my specific plotting needs. I am directly subclassing
> QtExtWidget.
>
> The issue is that I require multiple widgets in my application, but I do
> not know how to handle that... Shall I call multiple plinit() for each
> widget, having one stream for each widget?
> How should I handle subplots?
>
> To start, I am trying splitting the 2 plots drawn in the example in 2
> separate widgets with 2 methods to plot different things, but until now it
> seems that only the second (in order of creation) widget is used, while the
> first is ignored.
>
> Can someone give me some advices about this, please?

I would look at example 14 to get some ideas about how to do this. The 
answer depends somewhat on whether you are using a C or a C++ approach. 
In a C approach you have to explicitly switch back and forth between 
your plot streams using plsstrm().

best,
-Hazen


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to