From: Andrew M. <ve...@gm...> - 2017-01-14 08:56:49
|
Hello plplot community, I'm a plplot newbie. I have a question regarding the available output devices available in Windows. I've built plplot 5.11.1 for a multi-platform application (Windows 7/CentOS 7). My requirements are fairly simple - to display some test data in a separate viewing window. The guts of the plotter calls are: pls = new plstream(); #ifdef BUILD_LINUX plsdev("xwin"); #else #ifndef _MSC_VER plsdev("wingcc"); #else //Hmm, now what should this be #endif #endif plspause(false); pls->init(); pls->env(0,1000, 0, ymax, 0, 0); pls->lab( "Something", "Frequency", "Something Histogram"); pls->bin(n, datax, datay, opt); As you can see, I'm hedging my bets with the output device, depending on the host OS and environment. I'm trying to support both Cygwin and VS builds on Windows and standard gcc on Linux. However, I can't seem to find a plplot device that will display a pop-up histogram window with Visual Studio/Windows. Is this possible? Is there some wingcc equivalent in VS? Thanks for listening. Andrew |