Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Alain Baeckeroot
Le 12/01/2010 à 19:13, Alan W. Irwin a écrit : > > On 2010-01-12 16:14+0100 Alain Baeckeroot wrote: > > > Hi > > > > i needed to test this, so i adapted to octave the x13.c taken > > from plplot 5.9.2 (ubuntu) > > Hi Alain: > > It appears we will be unable to use your contribution because we ha

[Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Alain Baeckeroot
Hi I would like to draw a box containing the legend of the graph, in a box with semi transparent background. So i need to know the lenght (in pixel or win coordinates) of the string, in order to size the box. I tried `lenght = number_of_char(text) * 8 + 30; # pixels` which does not work because

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Arjen Markus
Hi Alain, you are looking for plstrl(), I think, which returns the length of the string in mm. Regards, Arjen On 2010-01-13 16:15, Alain Baeckeroot wrote: > Hi > > I would like to draw a box containing the legend of the graph, in a box > with semi transparent background. So i need to know the

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Alain Baeckeroot
Hi Arjen Le 13/01/2010 à 16:26, Arjen Markus a écrit : > > Hi Alain, > > you are looking for plstrl(), I think, which returns > the length of the string in mm. > Yes :) This function is not listed in the documentation page, maybe it is worth adding it ? Thanks a lot Alain --

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Arjen Markus
Hi Alain, I scanned the code :) But yes, if it is really part of the public API. (It should probably be anyway) Regards, Arjen On 2010-01-13 16:57, Alain Baeckeroot wrote: > Hi Arjen > > Le 13/01/2010 à 16:26, Arjen Markus a écrit : >> Hi Alain, >> >> you are looking for plstrl(), I think, whi

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Alain Baeckeroot
Hi Arjen Le 13/01/2010 à 17:00, Arjen Markus a écrit : > > Hi Alain, > > I scanned the code :) But yes, if it is really part of the public API. > (It should probably be anyway) > I jumped into the source too. I doubt plstrl is part of the public API: i cannot access to it from octave. and ev

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Hazen Babcock
Alain Baeckeroot wrote: > > Also on the site i notice that the first links insided "News" send to an > obsolete url (http://sourceforge.net/forum/forum.php?forum_id= ...) > and only the last one is good : > Site news archive : http://sourceforge.net/news/?group_id=2915 Thanks for pointing this

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Alan W. Irwin
On 2010-01-13 15:49+0100 Alain Baeckeroot wrote: > Btw, I looked at the example page on the site, it seems that many (all?) > octave > examples are missing. I guess it is the same cause. Thanks for spotting that issue which I confirm and will fix. Alan __ Alan W. Irwin

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Alan W. Irwin
On 2010-01-13 15:49+0100 Alain Baeckeroot wrote: > Also on the site i notice that the first links insided "News" send to an > obsolete url (http://sourceforge.net/forum/forum.php?forum_id= ...) > and only the last one is good : > Site news archive : http://sourceforge.net/news/?group_id=2915 Hi A

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Werner Smekal
Hi Alan, > The rest of this is addressed to Werner who is one of the movers > behind > our web site. > > Werner, do you agree there is no better link to individual news > items? If > so, should we wait a while longer for SourceForge to sort out their > mess? Or > should we give up and drop th

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Werner Smekal
Hi Alan, > > I'm quite sure, that there is a nice php script somewhere on sf.net > which solves this issue. I'll go searching. The script we use seems to be broken. There is an rss feed available for the project news, the correct URL is http://sourceforge.net/export/rss2_projnews.php?group_id=2

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Alan W. Irwin
On 2010-01-13 16:15+0100 Alain Baeckeroot wrote: > Hi > > I would like to draw a box containing the legend of the graph, in a box > with semi transparent background. So i need to know the lenght > (in pixel or win coordinates) of the string, in order to size the box. > > I tried `lenght = number_

Re: [Plplot-general] version octave of examples & site

2010-01-13 Thread Alan W. Irwin
On 2010-01-13 10:26-0800 Alan W. Irwin wrote: > On 2010-01-13 15:49+0100 Alain Baeckeroot wrote: > >> Btw, I looked at the example page on the site, it seems that many (all?) >> octave >> examples are missing. I guess it is the same cause. > > Thanks for spotting that issue which I confirm and wi

Re: [Plplot-general] how to get size (in pixel) of a string ?

2010-01-13 Thread Andrew Ross
On Wed, Jan 13, 2010 at 12:51:13PM -0800, Alan Irwin wrote: > On 2010-01-13 16:15+0100 Alain Baeckeroot wrote: > > > Hi > > > > I would like to draw a box containing the legend of the graph, in a box > > with semi transparent background. So i need to know the lenght > > (in pixel or win coordinate