~jose-soler/siesta/unfolding

« back to all changes in this revision

Viewing changes to Pseudo/atom/Tutorial/Utils/vcharge.gplot

  • Committer: Alberto Garcia
  • Date: 2016-01-25 16:00:16 UTC
  • mto: (483.3.1 rel-4.0)
  • mto: This revision was merged to the branch mainline in revision 485.
  • Revision ID: albertog@icmab.es-20160125160016-c1qivg1zw06kgyfd
Prepare GPL release

* Include proper headers

* Add Docs/Contributors.txt and NOTICE.txt files.

* Update READMEs and LICENSE files in several directories.

* Remove Pseudo/atom, Util/test-xml

* Remove DOM files from Src/xmlparser

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
there_is_ps=`test -f PSCHARGE && echo 1 || echo 0`
2
 
there_is_pt=`test -f PTCHARGE && echo 1 || echo 0`
3
 
#
4
 
set data style lines
5
 
#
6
 
# Note larger range
7
 
#
8
 
plot [0:5] \
9
 
  'AECHARGE' using 1:($2+$3-$4) title "AE valence charge"
10
 
#
11
 
if (there_is_ps == 1) \
12
 
replot   'PSCHARGE' using 1:($2+$3) title "PS valence charge"
13
 
#
14
 
if (there_is_pt == 1) \
15
 
replot 'PTCHARGE' using 1:($2+$3) title "PT valence charge"
16
 
 
17
 
 
18
 
 
19