Re: [Plplot-devel] How to use plplot in my own project?

2018-09-30 Thread Laurent Berger
ou will need to run cmake twice, once for release and once for debug and once for release by setting the -DCMAKE_CONFIGURATION_TYPES options to "Debug" or "Release". Phil On Tue, 25 Sep 2018 at 22:08, Alan W. Irwin wrote: On 2018-09-25 22:05+0200 Laurent Berger wrote: Hi,

[Plplot-devel] How to use plplot in my own project?

2018-09-25 Thread Laurent Berger
_properties(${NomProjet} PROPERTIES  COMPILE_DEFINITIONS "${wxWidgets_DEFINITIONS};__WXMSW__;_CRT_SECURE_NO_WARNINGS") set_target_properties(${NomProjet} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE") set_target_properties(${NomProjet} PROPERTIES LINK_FLAGS_RELEASE "/SUBS

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-23 Thread Laurent Berger
Hi, https://sourceforge.net/p/plplot/plplot/ci/4a5f94a70ac259d696dfaa8117cead7ad89b13f3/ : It works thanks! New file is now // Headers needed for Rand #ifdef _WIN32 // This include must occur before any other include of stdlib.h due to // the #define _CRT_RAND_S #define _CRT_RAND_S #include

Re: [Plplot-devel] Cannot compile plplot using VS 2017

2018-09-22 Thread Laurent Berger
Would just adding wx/wx.h be sufficient or do all those headers need to be added? Phil Phil On Sat, 22 Sep 2018 at 10:24, Laurent Berger wrote: Hi Phil, Alan, I check everything this morning (local time) and I have got same errors. I attached my cmakecache for plplot and cmakecache for wxwidgets

[Plplot-devel] Cannot compile plplot using VS 2017

2018-09-21 Thread Laurent Berger
Hi, I have just done a git clone : (Date:   Thu Sep 20 22:36:48 2018 -0700 ) commit caf4801dfef32207b74f5374eff52bf2a4c24e3d and delete cmakecache.txt and I I'm trying to build plplot in static BUILD_SHARED_LIBS:BOOL=OFF and ENABLE_DYNDRIVERS:BOOL=OFF and I have got 59 errors compiling wxwidg

Re: [Plplot-devel] How to use plplot in my project using cmake ?

2017-09-26 Thread Laurent Berger
and openscenegraph lib my script command to install plplot and wxopencv are installplplot.sh and installwxopencv.sh if something is missing tell me what Le 26/09/2017 à 09:44, Alan W. Irwin a écrit : On 2017-09-26 09:01+0200 Laurent Berger wrote: Hi Alan, I tried this if (PLplot_FOUND) me

Re: [Plplot-devel] How to use plplot in my project using cmake ?

2017-09-26 Thread Laurent Berger
files have been written to: G:/Lib/build/wxOpenCV In my project I got only this libs C:\Program Files\plplot\lib\plplot.lib C:\Program Files\plplot\lib\plplotcxx.lib C:\Program Files\plplot\lib\csirocsa.lib C:\Program Files\plplot\lib\qsastime.lib plplotwxwidgets is missing I think I miss somethin

Re: [Plplot-devel] How to use plplot in my project using cmake ?

2017-09-19 Thread Laurent Berger
017 à 18:54, Alan W. Irwin a écrit : On 2017-09-18 21:23+0200 Laurent Berger wrote: Hi, Thanks for new version (5.13.0). I have installed plplot and now I want to use it in my own project using cmake my cmakelist is if (wxWidgets_FOUND) include_directories(${wxWidgets_INCLUDE

[Plplot-devel] How to use plplot in my project using cmake ?

2017-09-18 Thread Laurent Berger
Hi, Thanks for new version (5.13.0). I have installed plplot and now I want to use it in my own project using cmake my cmakelist is if (wxWidgets_FOUND) include_directories(${wxWidgets_INCLUDE_DIRS}) target_link_libraries (wxOpenCVMain ${wxWidgets_LIBRARIES} ) endif (wxWidgets_FOUND)

Re: [Plplot-devel] legend and label using wxWidgets

2017-01-08 Thread Laurent Berger
then please let me know. Phil On 5 January 2017 at 00:42, wrote: Hi Alan I agree it would be good to look at this pre release. It's on my to do list for asap. Sent from my Windows 10 phone From: Alan W. Irwin Sent: 04 January 2017 20:37 To: Phil Rosenberg; Pedro Vicente; Laur

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger
/2016 à 22:28, Laurent Berger a écrit : With your last message I have found a way to solve problem cd wxWiget-3.1.0git checkout cbb799b Checking out files: 100% (1470/1470), done. Note: checking out 'cbb799b'. You are in 'detached HEAD' state. You can look around, make expe

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger
f me I think so I'll update, just in case it makes a difference. I use 64 bit, which I think is the same as you. Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll check. Phil Sent from my Windows 10 phone *From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger
p that may affect the usual y direction orientation or anything similar that you can think of? Phil Sent from my Windows 10 phone *From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr> *Sent: *28 December 2016 01:07 *To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.c

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
from my Windows 10 phone *From: *Pedro Vicente <mailto:pedro.vice...@space-research.org> *Sent: *27 December 2016 22:13 *To: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr> *Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net> *Subject: *Re: [Plplot-devel]

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
; regarding the scale issue, what compiler and cmake command are you using? > is it Visual Studio 2015 build 64bits, doing > cmake .. -G "Visual Studio 14 win64" ? > > > > > On 2016-12-27 16:04, Laurent Berger wrote: >> I always clean my build repo and my cmake c

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
I always clean my build repo and my cmake cache. Now to be sure I have just clone plplot in another folder : $ git clone git://git.code.sf.net/p/plplot/plplot Cloning into 'plplot'... remote: Counting objects: 91527, done. remote: Compressing objects: 100% (29963/29963), done. remote: Total 9152

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
> Does it mean that you use 32 bits libs? > > No, it means to use Visual Studio 2015 ("Visual Studio 14" is the > version number of Visual Studio 2015) > > > > On 2016-12-27 15:05, Laurent Berger wrote: >> Does it mean that you use 32 bits libs? >> &

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
Does it mean that you use 32 bits libs? Le 27/12/2016 à 21:00, Pedro Vicente a écrit : > "Visual Studio 14" -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://s

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
If you watch this video (http://perso.univ-lemans.fr/~berger/wxOpenCV/Portail/StatHistoSection/co/sequence.html#segment_yGYlRm4SzOeWIyROCQv5uc1) you can see that labels are at right position I think it is plplot version august 2015 --

Re: [Plplot-devel] Using wxWidgets

2016-12-27 Thread Laurent Berger
Laurent I have installed last version of plplot and last patch (from pedro). Can you confirm me that wxPLplotwindow is now a non template class? yes, that is correct. -Pedro On 2016-12-27 10:04, Laurent Berger wrote: Hi, I have installed last version of plplot and last patch (from pedro). Can y

[Plplot-devel] Uusing wxWidgets

2016-12-27 Thread Laurent Berger
Hi, I have installed last version of plplot and last patch (from pedro). Can you confirm me that wxPLplotwindow is now a non template class? thanks for yours answers -- Check out the vibrant tech community on one of

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
Thanks for your answer. I give you all command I done. I work on master (I made a copy on my previous folder). I build plplot in static using vs2015. When I run x04 example problem is still here. Example seems slower now. I think that I applyed patch because legend are good now but axis label

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-13 Thread Laurent Berger
ne to 3.1 yet, it is probably the same for that. Greg On Sat, Dec 10, 2016 at 6:58 AM, Laurent Berger mailto:laurent.ber...@univ-lemans.fr>> wrote: Hi phil, Thanks for your answer. I have try to solve problem in a bad way : I have changed some lines in pkg-config.cmake

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-10 Thread Laurent Berger
{aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HBITMAP__* LoadBitmapW(HINSTANCE, LPCWSTR)' return LoadBitmapW(hInstance, lpBitmapName); ^ make[2]: *** [src/CMakeFiles

Re: [Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-10 Thread Laurent Berger
^ make[2]: *** [src/CMakeFiles/plplot.dir/build.make:1114: src/CMakeFiles/plplot.dir/__/drivers/wxwidgets_comms.cpp.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:546: src/CMakeFiles/plplot.dir/all] Error 2 make: *** [Makefile:150: all] Error 2 Le 10/12/2016 à 02:11, Phil Rosenber

[Plplot-devel] build plplot using CMAKE using MSYS makefiles on windows 10

2016-12-08 Thread Laurent Berger
Hi, I want to buil plplot in static using MSYS makefiles on windows 10. In cmake GUI i have got an error that I cannot understand. wxWidgets is found but there is cmake_link_flags WARNING. Any help would be appreciate. CMake version = 3.7.0-rc2 CMAKE_SYSTEM_NAME = Windows SH_EXECUTABLE = C

Re: [Plplot-devel] The wxwidgets device driver speed/idle time

2016-11-15 Thread Laurent Berger
ted and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in isn't supported and may not work as expected real0m0.128s user0m0.084s sys0m0.020s lb@mp12-lb:~/plplot.git/examples/c++$

Re: [Plplot-devel] Finding wxWidgets

2016-11-13 Thread Laurent Berger
Hi, I have just made a git pull git.code.sf.net/p/plplot/plplot. Using cmake 3.7.0.rc2 and wxwidgets 3.1.0 and VS 2015. After pressing OK every where, all is fine. thanks for this new version! Le 12/11/2016 à 10:00, Alan W. Irwin a écrit : > On 2016-11-12 00:08-0500 Pedro Vicente wrote: > >>

Re: [Plplot-devel] Finding wxWidgets

2016-10-19 Thread Laurent Berger
Hi all, I still use plplot (PLplot Release 5.11.2) and wxwidgets (from github) using cmake with vs 2015. If you want to check something about detect wxwidgets feel free to ask me. Laurent Le 19/10/2016 à 21:39, Alan W. Irwin a écrit : > On 2016-10-19 00:10-0400 Pedro Vicente wrote: > >> 2) wxW

Re: [Plplot-devel] build with wxWidgets, Visual Studio

2016-09-17 Thread Laurent Berger
Hi Pedro, I am using vs2013 and plplot (from github) with wxwidgets and I haven't got any problem. I think you should update findwxwidgets.cmake from https://sourceforge.net/p/plplot/plplot/ci/master/tree/cmake/modules/FindwxWidgets.cmake (see https://sourceforge.net/p/plplot/plplot/ci/5b9dd3

Re: [Plplot-devel] Uisng plplot with wxwidgets and vs 2015

2016-01-13 Thread Laurent Berger
looking at your two stack traces I think there is a plplot problem. >> It looks like the wxPlplotwindow destructor is being called twice, once by >> plplot and once by wxWidgets. >> >> I will look at this today and get back to you asap. >> >> Phil >> _

[Plplot-devel] Uisng plplot with wxwidgets and vs 2015

2016-01-08 Thread Laurent Berger
Hi, I want to use VS2015 now with wxwidgets and plplot. When I wxPlplotDemo It works fine until I press close box. An exception occurs at line 273 wxWidgets-3.1.0/src/common/dcgraph.cpp stack. When I set a breakpoint at line 273 in dcgraph.cpp stack trace for first call >wxPLplotDemo.exe!w

Re: [Plplot-devel] Screen coordinates to data coordinates withwxWidgets driver

2015-12-22 Thread Laurent Berger
ocumented or propagated to other >> bindings. >> ________ >> From: Alan W. Irwin >> Sent: ‎20/‎12/‎2015 19:51 >> To: Phil Rosenberg >> Cc: Laurent Berger; plplot-devel@lists.sourceforge.net >> Subject: Re: [Plplot-devel] Screen coord

Re: [Plplot-devel] Screen coordinates to data coordinates with wxWidgets driver

2015-12-20 Thread Laurent Berger
Hi phil, Thanks you to waste time on my problem. I have try something like this void FenetreCourbe::OnLeftDown(wxMouseEvent& event) { PLGraphicsIn g; wxPLplotstream* pls = GetStream(); // pls->adv(0); uncomment this line does not change result g.dX = event.GetX(); g.dY =

Re: [Plplot-devel] Screen coordinates to data coordinates with wxWidgets driver

2015-12-19 Thread Laurent Berger
coordinates are always -1 -1 -1 -1 when I click in curve. I don't know what to modify to get this coordinates. Le 18/12/2015 23:54, Alan W. Irwin a écrit : > On 2015-12-18 23:03+0100 Laurent Berger wrote: > >> Hi, >> >> In plplot using wxwidgets driver which functio

[Plplot-devel] Screen coordinates to data coordinates with wxWidgets driver

2015-12-18 Thread Laurent Berger
Hi, In plplot using wxwidgets driver which function must I use to get data coordinates using mouse event? I have try plGetCursor in an event callback but i connot retrieve coordinate. Thanks for your help --

[Plplot-devel] memory leaks in wxWidgets driver?

2015-04-21 Thread laurent Berger
Hi, I look fo memory leaks in my program using plplot 5.11. I am using vs 2013 with Visual leak detector. This tools finds two memory leaks in my plplot code in wxPlplotWindow.h at line 187(m_memory_dc) and line 195 (m_gcDc). When I close wxPlplotwindow<> this two pointers are not deleted. May b

[Plplot-devel] Installing plplot on windows

2015-03-18 Thread Laurent Berger
After building plplot I want to install it on my computer with VS 2012 Win64. I install it using INSTALL project which in Plplot.sn solution for VS 2012. Plplot is installed in program files . In my own project I used cmake looking for opencv openscenegraph and plplot : find_package(OpenSceneG

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread laurent Berger
5> 'xmlto' is unknown s internal command 5> extern, executable file or command file. 5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: Arrêt de "cmd.exe" avec le code 9009. Le 18/03/2015 12:18, Alan W. Irwin a

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Laurent Berger
SOURCE_FILES_PROPERTIES(${plplot_LIB_SRCS} PROPERTIES COMPILE_FLAGS "-DUSINGDLL" ) but (may be I'm wrong) it's only for plplot_LIB_SRCS and test_plbuf.c it's not in the list. so how can i set COMPILE_DEFINITIONS for test_plbuf.c in cmakelists.txt? Le 18/03/2015

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2013

2015-03-17 Thread laurent Berger
réussi, 0 a échoué, 0 a été ignoré == (1 success) Le 17/03/2015 23:49, Alan W. Irwin a écrit : > On 2015-03-17 22:38+0100 laurent Berger wrote: > >> with VS2013 like yesterday there is no problem but same error (like >> vs2012) is in test_plbuf project >> >> 1

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2013

2015-03-17 Thread laurent Berger
with VS2013 like yesterday there is no problem but same error (like vs2012) is in test_plbuf project 1> Building Custom Rule F:/Lib/test/plplot-plplot/examples/c/CMakeLists.txt 1> CMake does not need to re-run because F:\Lib\test\plplot-plplot\build\examples\c\CMakeFiles\generate.stamp is up-

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012

2015-03-17 Thread laurent Berger
with VS2012 problem is solved I can run wxPlplotdemo.exe I have seen an another error in test_plbuf 1> Building Custom Rule F:/Lib/test/plplot-plplot/examples/c/CMakeLists.txt 1> CMake does not need to re-run because F:\Lib\test\plplot-plplot\build\examples\c\CMakeFiles\generate.stamp is up-to

Re: [Plplot-devel] Call for testing of the PLplot git master tip version

2015-03-16 Thread laurent Berger
with vs2012 I think problem is here :http://stackoverflow.com/questions/21568140/lround-on-visual-studio-not-being-recognized with vs2013 there is no problem Le 16/03/2015 20:16, Alan W. Irwin a écrit : > For everybody on this list, I am in the very late stages of bringing > out a PLplot release

Re: [Plplot-devel] Call for testing of the PLplot git master tip version

2015-03-16 Thread laurent Berger
Hi, I'm very happy to help you for testing. So I have clone : $ git clone git://git.code.sf.net/p/plplot/plplot plplot-plplot Cloning into 'plplot-plplot'... remote: Counting objects: 85651, done. remote: Compressing objects: 100% (25299/25299), done. remote: Total 85651 (delta 63155), reused 8123

Re: [Plplot-devel] PL_MAX_OPT_TABLES PL_NSTREAMS wxWidgets Driver

2015-02-14 Thread laurent Berger
izeHints( 220, 150 ); // set minimum frame size wxString m_title = title; switch ( plotwindow->getBackend() ) { case wxPLPLOT_BACKEND_DC: m_title += wxT( " (basic)" ); break; case wxPLPLOT_BACKEND_GC: m_title += wxT( " (wxGC)" );

Re: [Plplot-devel] PL_MAX_OPT_TABLES PL_NSTREAMS wxWidgets Driver

2015-02-14 Thread laurent Berger
with a plot? > Thanks for the report and as I said I will look into this asap. > > Phil > > From: laurent Berger <mailto:laurent.ber...@univ-lemans.fr> > Sent: ‎14/‎02/‎2015 10:16 > To: plplot-devel@lists.sourceforge.net > <mailto:plp

Re: [Plplot-devel] PL_MAX_OPT_TABLES PL_NSTREAMS wxWidgets Driver

2015-02-14 Thread laurent Berger
* * Le 13/02/2015 23:58, Jim Dishaw a écrit : > There should be no problem if you increased that number. I have to ask if you > need more than 100 simultaneous plots. You can use pladv() or the > plbop()/pleop() functions to advance to a new page. If you really want a > fresh stat

[Plplot-devel] wxWidgets Driver

2015-02-13 Thread laurent Berger
Hi, I am using plplot for image processing with many plplot windows more than 100. In source plplot streams seems limited to 100 (#define PL_NSTREAMS 100 // Max number of concurrent streams. plplotP.h line 289). Is it possible to increase this values? Thanks for yours answers

[Plplot-devel] using renewplot with plplot

2015-01-23 Thread Laurent Berger
copy of the curve perso.univ-lemans.fr/~berger/Afsd56/copie.jpg Is it really a memory leak ? If yes Have you got any idea to solve this problem? Thanks you for your answer. -- Laurent Berger Enseignant-chercheur I.U.T. du Mans Département Gestion des Entreprises et des Adminis

Re: [Plplot-devel] About svg

2014-08-14 Thread laurent Berger
Thanks you for your answer. plplot 5.9.10, wxwidgets 3.0.0 visual studio 2012 C++ with pls->width( 2.0 ); nothing changes. You can download source file and svg, ps and xfig here : perso.univ-lemans.fr/~berger/aqzersPLPLOT My source code is : wxPLplotstream* pls=plotwindow->GetStream(); int iMin=

[Plplot-devel] About svg

2014-08-14 Thread laurent Berger
Hi, My program plot histogram using plplot and wxwidgets driver. On my screen plot is nice. When plot is saved in svg format I cannot see histogram with Inkscape. I don't know svg format but If I change all stroke-width="0.00e+000" with stroke-width="1" svg is OK in Inkscape. In program I h

[Plplot-devel] OnInit call in wxpng driver

2014-08-14 Thread laurent Berger
Hi, I have got a programm in C++ with wxwidgets using plplot on windows 7. i want to save my plplot graph in a fucntion called FenetreHistogramme::Plot : plotwindow->SavePlot(wxString("svg"),wxString("tt.svg")); plotwindow->SavePlot(wxString("xfig"),wxString("tt.xfig")); plotwindow->SavePlot(wxSt

Re: [Plplot-devel] Deploying programs that use PLplot with wxWidgets

2010-07-12 Thread Laurent Berger
In compile option for DEFINE I have WXDEBUG and DEBUG. Thanks for your help Werner Smekal a écrit : > Hi Laurent, > > sorry, I overlooked your email. > > On 7/2/10 2:29 PM, Laurent Berger wrote: >> Sorry I have forgotten to say that all dll are in same folder : >> >>

Re: [Plplot-devel] Deploying programs that use PLplot with wxWidgets

2010-07-02 Thread Laurent Berger
be a crash cause for x01.exe. thanks for your answer Werner Smekal a écrit : > Hi, > > On 7/1/10 12:55 PM, Laurent Berger wrote: >> Hi, >> >> I use PLPLOT 5.9.6 on windows xp with visual C++ 9.0 with wxWidgets. >> With my computer and program x01.exe (the first sam

Re: [Plplot-devel] Deploying programs that use PLplot with wxWidgets

2010-07-01 Thread Laurent Berger
plLoadDriver: tag=wxwidgets, drvidx=4 plLoadDriver: Trying to load wxwidgets on wxwidgets plLoadDriver: lt_dlopenext failed because of the following reason: No error information Unable to load driver: wxwidgets. *** PLPLOT ERROR, IMMEDIATE EXIT *** Unable to load driver Program aborted Werner Smek

[Plplot-devel] Deploying programs that use PLplot with wxWidgets

2010-07-01 Thread Laurent Berger
Hi, I use PLPLOT 5.9.6 on windows xp with visual C++ 9.0 with wxWidgets. With my computer and program x01.exe (the first sample proram) everythings work with ps or wxwidgets drivers. I have installed x01 on another computer. I have defined environement variable PLPLOT and PLPLOT_DRV_LIB. Program