Re: [Plplot-devel] Preferred git workflow

2014-08-14 Thread phil rosenberg
That workflow seems good to me. This model depends quite heavily upon having at least two permanent branches. A stable master and an unstable testing and perhaps also a (semi-stable) bug fixes branch. Are you suggesting that we should adopt this for Plplot? The basic workflow would be: 1) When

[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

[Plplot-devel] exit() calls

2014-08-14 Thread phil rosenberg
Hi All I have had the exit() calls in Plplot rolling around in the back of my head for a while. They were brought to the fore, recently when I had some code which generated a lot of plots and displayed them all via wxWidgets - except it didn't. The program exited half way through. It turned out

[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

Re: [Plplot-devel] About svg

2014-08-14 Thread Arjen Markus
Hi Laurent, I am not quite sure what is going on, but the code fragment suggests you have an integer pen width. Could you try with a floating-point pen width, i.e. "2.0" instead of "2" (without the " of course). I do not see any overloaded function that could be accepting an integer value

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=

Re: [Plplot-devel] About svg

2014-08-14 Thread Arjen Markus
Hi Laurent, The odd thing is that the SVG plots produced _directly_ with one of the standard examples shows all the right line widths. It must be that the replot function (called in plotwindow->SavePlot(..)) is faulty - the line width might not be set properly. It is not an area of Plplot

Re: [Plplot-devel] Preferred git workflow

2014-08-14 Thread Alan W. Irwin
On 2014-08-14 01:39-0700 phil rosenberg wrote: > That workflow seems good to me. > > This model depends quite heavily upon having at least two permanent branches. A stable master and an unstable testing and perhaps also a (semi-stable) bug fixes branch. Are you suggesting that we should adopt thi

Re: [Plplot-devel] Preferred git workflow

2014-08-14 Thread Hazen Babcock
On 8/14/2014 4:39 AM, phil rosenberg wrote: > That workflow seems good to me. > It also sounds good to me. -Hazen -- ___ Plplot-devel mailing list Plplot-devel@lists.sourcefo

Re: [Plplot-devel] exit() calls

2014-08-14 Thread Hazen Babcock
> > Hi All > I have had the exit() calls in Plplot rolling around in the back of my head > for a while. They were brought to the fore, recently when I had some code > which generated a lot of plots and displayed them all via wxWidgets - except > it didn't. The program exited half way through. It

Re: [Plplot-devel] Preferred git workflow

2014-08-14 Thread Alan W. Irwin
On 2014-08-14 13:56-0400 Hazen Babcock wrote: > On 8/14/2014 4:39 AM, phil rosenberg wrote: >> That workflow seems good to me. >> > > It also sounds good to me. Hi Hazen: I am very glad to hear that OK about using this workflow for PLplot development from someone with a lot more experience than

Re: [Plplot-devel] exit() calls

2014-08-14 Thread Phil Rosenberg
Hi Hazen The approach of just don't call exit and see what happens was also my first thought. Then the first case i looked at was plscmap0n, which attempts to set the number of colours in cmap0, this is called by plspal0, which immediately assumes the call has succeeded and attempts to assign co

Re: [Plplot-devel] About svg

2014-08-14 Thread Phil Rosenberg
Arjen might well be right about the replot function, or maybe the stored replot data. What happens if you resize a Plplot window? Does that also show problems? Phil -Original Message- From: "Arjen Markus" Sent: ‎14/‎08/‎2014 15:08 To: "laurent Berger" ; "plplot-devel@lists.sourceforge