Problems with gnuplot graphics on Mac OS 10.12.1
Hi All, I have installed demeter using Macports on 10.12.1 and while hephaestus seems to run normally, athena has some trouble with graphics. The usual athena perl based panel shows up just fine, but upon loading some data, there is always an error when gnuplot is invoked to plot graphics (as reproduced below). It would seem that the command “set” is missing the first letter. Does anyone have a suggestion as to what to check to fix this? Axion:perl5.24 $ use_macports.sh athena gnuplot> et label '{/Symbol \305}' at 400.79999,853.0387 center front textcolor ls 12 ^ line 0: invalid command
Hi Paul, I have a hard time understanding how that happens, but I have a couple ideas. Let's look into the simpler one first. In the installation location of Demeter, there is a file called lib/Demeter/templates/plot/gnuplot/marker.tmpl It should look exactly like this: https://github.com/bruceravel/demeter/blob/master/lib/Demeter/templates/plot... Could you check to verify that that file has not been altered in any way? If that file is ok, then we'll dig deeper. B On 11/28/2016 02:35 PM, Paul Fons wrote:
Hi All, I have installed demeter using Macports on 10.12.1 and while hephaestus seems to run normally, athena has some trouble with graphics. The usual athena perl based panel shows up just fine, but upon loading some data, there is always an error when gnuplot is invoked to plot graphics (as reproduced below). It would seem that the command “set” is missing the first letter. Does anyone have a suggestion as to what to check to fix this?
Axion:perl5.24 $ use_macports.sh athena
gnuplot> et label '{/Symbol \305}' at 400.79999,853.0387 center front textcolor ls 12 ^ line 0: invalid command
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
-- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS-II Building 743, Room 114 Upton NY, 11973 Homepage: http://bruceravel.github.io/home/ Software: https://github.com/bruceravel Demeter: http://bruceravel.github.io/demeter/
Hi Paul,
I don't see that error. It looks like it must come from
...../lib/Demeter/templates/plot/gnuplot/marker.tmpl
(which gets installed to
/opt/local/lib/perl5/site_perl/5.24/darwin-thread-multi-2level/Demeter/templates/plot/gnuplot/marker.tmpl
for me with Macports). This file eads::
##--------
{ # -*- ifm -*-
# template for inserting a marker
# {$x} and {$y} are supplied by the caller and are the points at which
to draw a marker
# {$P->parameter} returns the value of a Plot parameter
{$P->markercolor} '\{/*1.5 \244\}'
}
set label '\{/Symbol \\{$C->default(qw(gnuplot markersymbol))}\}' at
{$x},{$y} center front textcolor ls 12
replot
##--------
Maybe try adding a space before "set" just in case something is getting
parsed weirdly?
--Matt
On Mon, Nov 28, 2016 at 1:35 PM, Paul Fons
Hi All, I have installed demeter using Macports on 10.12.1 and while hephaestus seems to run normally, athena has some trouble with graphics. The usual athena perl based panel shows up just fine, but upon loading some data, there is always an error when gnuplot is invoked to plot graphics (as reproduced below). It would seem that the command “set” is missing the first letter. Does anyone have a suggestion as to what to check to fix this?
Axion:perl5.24 $ use_macports.sh athena
gnuplot> et label '{/Symbol \305}' at 400.79999,853.0387 center front textcolor ls 12 ^ line 0: invalid command
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit
participants (3)
-
Bruce Ravel
-
Matt Newville
-
Paul Fons