[Wien] problem in plotting result by gnuplot

Tomohiko Tasaka tasaka at affinity-science.com
Fri Jul 30 15:14:09 CEST 2010


Hi,

"set data style" command is deprecated in gnuplot v4.4.
so, you should change it to "set style data" in some scripts.

For example,
$ cd ${WIENROOT}
$ grep -lI "set data style" * | xargs sed -i -e s/set\ data\ style/set\ style\ data/g


here is transcript for gnuplot's help.

$ gnuplot

        G N U P L O T
        Version 4.4 patchlevel 0-rc1
        last modified Sat Nov 28 14:34:01 PST 2009
        System: Linux 2.6.32.14-127.fc12.x86_64

        Copyright (C) 1986-1993, 1998, 2004, 2007-2009
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help seeking-assistance"
        immediate help:   type "help"
        plot window:      hit 'h'

Terminal type set to 'x11'
gnuplot> help set data
 This form of the command is deprecated. Please see `set style data`.

gnuplot> help set style data
 The `set style data` command changes the default plotting style for data
 plots.

 Syntax:
       set style data <plotting-style>
       show style data

 See `plotting styles` for the choices.  If no choice is given, the choices are
 listed.  `show style data` shows the current default data plotting style.

gnuplot>

HTH
Tomo


-----Original Message-----
From: wien-bounces at zeus.theochem.tuwien.ac.at [mailto:wien-bounces at zeus.theochem.tuwien.ac.at] On Behalf Of
Tomas Kana 
Sent: Friday, July 30, 2010 9:32 PM
To: A Mailing list for WIEN2k users
Subject: Re: [Wien] problem in plotting result by gnuplot

Hello Donghui, 
 The problem is probably not connected with WIEN2k, but with the Gnuplot code
/or better to say in the second line of the file with gnuplot commands). 
In order to know more about  how to set terminal in Gnuplot 
 Just type 
gnuplot 
then type
help set
or 
help set terminal 
and then 
quit 
 Probably the best solution would be to to copy :rho2  to  myfileRho2 
 and in the  myfileRho2 replace the (probably second) line containing 
 set term blablablabla 
to 
 set terminal x11
(this means you want to plot on screen)
Then type 
gnuplot -persist  myfileRho2 

   Hope this helps              Tomas 

Dear Wien2k users,
I met problem during plot the result by gnuplot (4.4).
In command line after I input "rhoplot" or "dosplot", it is replied
"":rho2" (:dos2), line 2: unrecognized option. See 'help set'."
The problem is I don't know where can I find the 'help set' and resolve it.
Can you generously give me any suggestion?
The wien2k is WIEN2K.10, the compilers I used are ifort and gcc. The OS is
ubuntu 10.04 (AMD64)
Thank you.
Donghui Guo
Tsukuba University


_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien



More information about the Wien mailing list