[Wien] problem in plotting result by gnuplot

Jian-Xin Zhu jxzhu at lanl.gov
Mon Aug 2 17:07:13 CEST 2010


Dear All, 

The command provided by Tomohiko

> $ grep -lI "set data style" * | xargs sed -i -e s/set\ data\ style/set\ style\ data/g


changes "set data style" to "set data style" in most of the files, like Curve, Curve-e, etc.). 

But there are still several files with "set data style" unchanged, and they are

Curve_lapw-e
dosplot2_lapw-e
dosplot_lapw-e
eplot2D_lapw-e
eplot_lapw-e
opticplot_lapw-e
rhoplot_lapw-e
specplot_lapw-e

Should these files also be modified?

Thanks, 

Jianxin







On Aug 2, 2010, at 1:28 AM, Donghui Guo wrote:

> Dear Tomas and Tasaka-san,
> Thanks for your kind replies.
> I took the suggestion provided by Tomohiko Tasaka and it works perfect.
> Thanks everyone.
> best regards,
> Donghui Guo
> 
> On Fri, Jul 30, 2010 at 10:14 PM, Tomohiko Tasaka <tasaka at affinity-science.com> wrote:
> 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
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20100802/370809ff/attachment.htm>


More information about the Wien mailing list