gnuplot demo legend

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gnuplot demo legend

Dmitri A. Sergatskov
With 2020.02.13 dev snapshot and *installed* (in /usr/local) octave:
<<<
octave -q -f
octave:1> graphics_toolkit gnuplot
octave:2> demo legend
legend example 1:
 clf;
 plot (rand (2));
 title ("legend called with string inputs for labels");
 h = legend ("foo", "bar");
 set (h, "fontsize", 20, "location", "northeastoutside");

legend example 1: failed
'__gnuplot_legend__' undefined near line 130, column 130
Press <enter> to continue:
>>>

It works fine if I ./run-octave in build tree.
I suspect it is something with octave handling of directories and subdirectories....

Dmitri.
--

Reply | Threaded
Open this post in threaded view
|

Re: gnuplot demo legend

Dmitri A. Sergatskov


On Thu, Feb 13, 2020 at 9:56 AM Dmitri A. Sergatskov <[hidden email]> wrote:
With 2020.02.13 dev snapshot and *installed* (in /usr/local) octave:
<<<
octave -q -f
octave:1> graphics_toolkit gnuplot
octave:2> demo legend
legend example 1:
 clf;
 plot (rand (2));
 title ("legend called with string inputs for labels");
 h = legend ("foo", "bar");
 set (h, "fontsize", 20, "location", "northeastoutside");

legend example 1: failed
'__gnuplot_legend__' undefined near line 130, column 130
Press <enter> to continue:
>>>

It works fine if I ./run-octave in build tree.
I suspect it is something with octave handling of directories and subdirectories....

Actually it appears that "make install" does not copy
scripts/plot/appearance/private/__gnuplot_legend__.m

into installation tree.
 

Dmitri.
--

Dmitri.
 
Reply | Threaded
Open this post in threaded view
|

Re: gnuplot demo legend

John W. Eaton
Administrator
On 2/13/20 10:06 AM, Dmitri A. Sergatskov wrote:

> Actually it appears that "make install" does not copy
> scripts/plot/appearance/private/__gnuplot_legend__.m
>
> into installation tree.

Oops.  I pushed the following change:

   http://hg.savannah.gnu.org/hgweb/octave/rev/e8b5bca84d88

jwe