21CHARACTER (LEN=36) FUNCTION ylegend (job, nleg, idl, snp)
27INTEGER,
INTENT(IN) :: job, nleg, idl, snp
28INTEGER :: dal, dbl, dcl, ddl, del
43 elseif (nleg .eq. 1)
then
45 ylegend =
"""g(r) Neutrons - smoothed"""
47 ylegend =
"g(r) Neutrons - smoothed"
49 elseif (nleg .eq. 2)
then
55 elseif (nleg .eq. 3)
then
57 ylegend =
"""G(r) Neutrons - smoothed"""
59 ylegend =
"G(r) Neutrons - smoothed"
61 elseif (nleg .eq. 4)
then
67 elseif (nleg .eq. 5)
then
69 ylegend =
"""g(r) X-rays - smoothed"""
71 ylegend =
"g(r) X-rays - smoothed"
73 elseif (nleg .eq. 6)
then
79 elseif (nleg .eq. 7)
then
81 ylegend =
"""G(r) X-rays - smoothed"""
83 ylegend =
"G(r) X-rays - smoothed"
85 elseif (nleg .ge. 8)
then
93 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
96 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
102 if (dcl.eq.nleg)
then
105 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"""
108 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"
114 if (dcl.eq.nleg)
then
117 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
120 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
126 if (dcl.eq.nleg)
then
129 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"""
132 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"
138 if (dcl.eq.nleg)
then
141 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
144 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
154 if (dcl.eq.nleg)
then
162 if (dcl.eq.nleg)
then
164 ylegend=
"""BT\sNN\N(r) - smoothed"""
170 if (dcl.eq.nleg)
then
178 if (dcl.eq.nleg)
then
180 ylegend=
"""BT\sNC\N(r) - smoothed"""
186 if (dcl.eq.nleg)
then
194 if (dcl.eq.nleg)
then
196 ylegend=
"""BT\sCC\N(r) - smoothed"""
205else if (job.eq.
idsq .or. job.eq.
idsk)
then
207 if (nleg .eq. 0)
then
209 ylegend =
"""S(q)[total] Neutrons"""
211 ylegend =
"S(q)[total] Neutrons"
213 elseif (nleg .eq. 1)
then
215 ylegend =
"""S(q) Neutrons - smoothed"""
217 ylegend =
"S(q) Neutrons - smoothed"
219 elseif (nleg .eq. 2)
then
221 ylegend =
"""Q(q)[total] Neutrons"""
223 ylegend =
"Q(q)[total] Neutrons"
225 elseif (nleg .eq. 3)
then
227 ylegend =
"""Q(q)[total] Neutrons - smoothed"""
229 ylegend =
"Q(q)[total] Neutrons - smoothed"
231 elseif (nleg .eq. 4)
then
233 ylegend =
"""S(q)[total] X-rays"""
237 elseif (nleg .eq. 5)
then
239 ylegend =
"""S(q) X-rays - smoothed"""
241 ylegend =
"S(q) X-rays - smoothed"
243 elseif (nleg .eq. 6)
then
245 ylegend =
"""Q(q)[total] X-rays"""
249 elseif (nleg .eq. 7)
then
251 ylegend =
"""Q(q)[total] X-rays - smoothed"""
253 ylegend =
"Q(q)[total] X-rays - smoothed"
255 elseif (nleg .ge. 8)
then
260 if (dcl.eq.nleg)
then
263 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
266 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
272 if (dcl.eq.nleg)
then
275 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"""
278 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"
289 if (dcl.eq.nleg)
then
292 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
295 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
301 if (dcl.eq.nleg)
then
304 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"""
307 tl(dal)(1:len_trim(
tl(dal)))//
","//
tl(dbl)(1:len_trim(
tl(dbl)))//
"] - smoothed"
317 if (dcl.eq.nleg)
then
325 if (dcl.eq.nleg)
then
327 ylegend=
"""BT\sNN\N(q) - smoothed"""
333 if (dcl.eq.nleg)
then
341 if (dcl.eq.nleg)
then
343 ylegend=
"""BT\sNC\N(q) - smoothed"""
349 if (dcl.eq.nleg)
then
357 if (dcl.eq.nleg)
then
359 ylegend=
"""BT\sCC\N(q) - smoothed"""
365 if (dcl.eq.nleg)
then
373 if (dcl.eq.nleg)
then
375 ylegend=
"""BT\sZZ\N(q) - smoothed"""
384else if (job .eq.
idbd)
then
389 if (nleg .eq. dcl)
then
391 ylegend =
"""% Dij ["//
tl(dal)(1:len_trim(
tl(dal)))//
"-" &
392 //
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"""
396 ylegend =
"% Dij ["//
tl(dal)(1:len_trim(
tl(dal)))//
"-" &
397 //
tl(dbl)(1:len_trim(
tl(dbl)))//
"]"
406else if (job .eq.
idan)
then
412 if (nleg .eq. ddl)
then
414 ylegend =
"""% Angle ["//
tl(dal)(1:len_trim(
tl(dal)))//
"-" &
415 //
tl(dbl)(1:len_trim(
tl(dbl)))//
"-"//
tl(dcl)(1:len_trim(
tl(dcl)))//
"]"""
417 ylegend =
"% Angle ["//
tl(dal)(1:len_trim(
tl(dal)))//
"-" &
418 //
tl(dbl)(1:len_trim(
tl(dbl)))//
"-"//
tl(dcl)(1:len_trim(
tl(dcl)))//
"]"
429 if (nleg .eq. ddl)
then
432 tl(dal)(1:len_trim(
tl(dal)))//
"-"//
tl(dbl)(1:len_trim(
tl(dbl)))// &
433 "-"//
tl(dcl)(1:len_trim(
tl(dcl)))//
"-"//
tl(del)(1:len_trim(
tl(del)))//
"]"""
436 tl(dal)(1:len_trim(
tl(dal)))//
"-"//
tl(dbl)(1:len_trim(
tl(dbl)))// &
437 "-"//
tl(dcl)(1:len_trim(
tl(dcl)))//
"-"//
tl(del)(1:len_trim(
tl(del)))//
"]"
446else if (job .eq.
idri)
then
448 if (nleg.eq.0 .or. nleg.eq.4 .or. nleg.eq.8 .or. nleg.eq.12 .or. nleg.eq.16)
then
450 ylegend=
"""R\sc\N(\f{Times-Italic}n\f{})"""
454 elseif (nleg.eq.1 .or. nleg.eq.5 .or. nleg.eq.9 .or. nleg.eq.13 .or. nleg.eq.17)
then
456 ylegend=
"""P\sn\N(\f{Times-Italic}n\f{})"""
460 elseif (nleg.eq.2 .or. nleg.eq.6 .or. nleg.eq.10 .or. nleg.eq.14 .or. nleg.eq.18)
then
462 ylegend=
"""P\smax\N(\f{Times-Italic}n\f{})"""
466 elseif (nleg.eq.3 .or. nleg.eq.7 .or. nleg.eq.11 .or. nleg.eq.15 .or. nleg.eq.19)
then
468 ylegend=
"""P\smin\N(\f{Times-Italic}n\f{})"""
474elseif (job .eq.
idch)
then
478 ylegend=
"""C\sc\N(\f{Times-Italic}n\f{})[All]"""
485 if (nleg .eq. ddl)
then
487 ylegend=
"""C\sc\N(\f{Times-Italic}n\f{})["//
tl(dal)(1:len_trim(
tl(dal)))//
"]"""
489 ylegend=
"Cc(n)["//
tl(dal)(1:len_trim(
tl(dal)))//
"]"
495elseif (job .eq.
idsp)
then
503 if (nleg .eq. ddl)
then
505 ylegend=
"""MSD ("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
507 ylegend=
"MSD ("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
511 if (nleg .eq. ddl)
then
513 ylegend=
"""MSD nac ("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
515 ylegend=
"MSD nac ("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
521 if (nleg .eq. ddl)
then
523 ylegend=
"""MSD [x]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
525 ylegend=
"MSD [x]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
529 if (nleg .eq. ddl)
then
531 ylegend=
"""MSD [y]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
533 ylegend=
"MSD [y]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
537 if (nleg .eq. ddl)
then
539 ylegend=
"""MSD [z]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
541 ylegend=
"MSD [z]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
545 if (nleg .eq. ddl)
then
547 ylegend=
"""MSD [xy]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
549 ylegend=
"MSD [xy]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
553 if (nleg .eq. ddl)
then
555 ylegend=
"""MSD [xz]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
557 ylegend=
"MSD [xz]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
561 if (nleg .eq. ddl)
then
563 ylegend=
"""MSD [yz]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
565 ylegend=
"MSD [yz]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
571 if (nleg .eq. ddl)
then
573 ylegend=
"""MSD [x/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
575 ylegend=
"MSD [x/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
579 if (nleg .eq. ddl)
then
581 ylegend=
"""MSD [y/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
583 ylegend=
"MSD [y/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
587 if (nleg .eq. ddl)
then
589 ylegend=
"""MSD [z/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
591 ylegend=
"MSD [z/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
595 if (nleg .eq. ddl)
then
597 ylegend=
"""MSD [xy/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
599 ylegend=
"MSD [xy/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
603 if (nleg .eq. ddl)
then
605 ylegend=
"""MSD [xz/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
607 ylegend=
"MSD [xz/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
611 if (nleg .eq. ddl)
then
613 ylegend=
"""MSD [yz/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [\cE\C\S2\N]"""
615 ylegend=
"MSD [yz/nac]("//
tl(dal)(1:len_trim(
tl(dal)))//
") [Ų]"
620 if (nleg .eq. ddl)
then
622 ylegend=
"""Correction (x) [\cE\C\S2\N]"""
628 if (nleg .eq. ddl)
then
630 ylegend=
"""Correction (y) [\cE\C\S2\N]"""
636 if (nleg .eq. ddl)
then
638 ylegend=
"""Correction (z) [\cE\C\S2\N]"""
644 if (nleg .eq. ddl)
then
646 ylegend=
"""Drift (x) [ms\S-1\N]"""
652 if (nleg .eq. ddl)
then
654 ylegend=
"""Drift (y) [ms\S-1\N]"""
660 if (nleg .eq. ddl)
then
662 ylegend=
"""Drift (z) [ms\S-1\N]"""
672CHARACTER (LEN=65) FUNCTION xlegend (job, nleg, idl, cdc, snp)
678INTEGER,
INTENT(IN) :: job, nleg, idl, snp
679DOUBLE PRECISION,
INTENT(IN) :: cdc
681CHARACTER (LEN=6),
DIMENSION(5) :: tpsunit = (/
't [fs]',
't [ps]',
't [ns]',
't [us]',
't [ms]' /)
683 CHARACTER (LEN=7) FUNCTION getunit()
693 elseif (job .eq.
idbd)
then
695 elseif (job .eq.
idan)
then
696 if (nleg .lt. snp*snp*snp)
then
701 elseif (job .eq.
idri)
then
702 xlegend =
"Size \f{Times-Italic}n\f{} of the ring [total number of nodes]"""
703 elseif (job .eq.
idch)
then
704 xlegend =
"Size \f{Times-Italic}n\f{} of the chain [total number of nodes]"""
705 elseif (job .eq.
idsp)
then
720 elseif (job .eq.
idbd)
then
722 elseif (job .eq.
idan)
then
723 if (nleg .lt. snp*snp*snp)
then
728 elseif (job .eq.
idri)
then
729 xlegend =
"Size n of the ring [total number of nodes]"
730 elseif (job .eq.
idch)
then
731 xlegend =
"Size n of the chain [total number of nodes]"
732 elseif (job .eq.
idsp)
then
743 scalex, scaley, mdc, rdc, idc) bind (C,NAME='prep_file_')
749INTEGER (KIND=c_int),
INTENT(IN) :: scf, rdc, snp, tfile, idc
750INTEGER (KIND=c_int),
INTENT(IN) :: scalex, scaley
751CHARACTER (KIND=c_char),
DIMENSION(*),
INTENT(IN) :: sfi
752CHARACTER (LEN=scf) :: sfile
753real(kind=c_double),
INTENT(IN) :: mdc
754CHARACTER (LEN=5) :: xaxis=
"xaxis", yaxis=
"yaxis"
755CHARACTER (LEN=65) :: xlabel
758 CHARACTER(LEN=65) FUNCTION xlegend (job, nleg, idl, cdc, snp)
759 INTEGER,
INTENT(IN) :: job, nleg, idl, snp
760 DOUBLE PRECISION,
INTENT(IN) :: cdc
764xlabel =
xlegend(rdc, idc, tfile, mdc, snp)
770open(unit=200, file=sfile,
action=
"write", status=
'unknown')
771if (tfile .eq. 0)
then
773 write (200, 002) xaxis, xlabel
774 write (200, 003) xaxis
775 if (scalex .eq. 1)
write (200, 016)
776 write (200, 004) xaxis, 1.0
777 write (200, 005) xaxis, 0.5
778 write (200, 007) xaxis
779 write (200, 008) xaxis
780 write (200, 003) yaxis
781 if (scaley .eq. 1)
write (200, 017)
782 write (200, 004) yaxis, 1.0
783 write (200, 005) yaxis, 0.5
784 write (200, 007) yaxis
785 write (200, 008) yaxis
790001
FORMAT (
"@with g0")
791002
FORMAT (
"@ ",a5,
" label """,a65)
792003
FORMAT (
"@ ",a5,
" tick on")
793004
FORMAT (
"@ ",a5,
" tick major size ",f8.6)
794005
FORMAT (
"@ ",a5,
" tick minor size ",f8.6)
795007
FORMAT (
"@ ",a5,
" ticklabel on")
796008
FORMAT (
"@ ",a5,
" ticklabel char size 0.800000")
797009
FORMAT (
"@ legend on")
798010
FORMAT (
"@ legend box linestyle 0")
799016
FORMAT (
"@ xaxes scale Logarithmic")
800017
FORMAT (
"@ yaxes scale Logarithmic")
805 mdc, tdata, rdc, idc, snp, &
806 tfile, nfile, afile, lcname, cstring) bind (C,NAME='append_to_file_')
812INTEGER (KIND=c_int),
INTENT(IN) :: rdc, idc, snp
813INTEGER (KIND=c_int),
INTENT(IN) :: ndata
814INTEGER (KIND=c_int),
INTENT(IN) :: tfile, tdata
815INTEGER (KIND=c_int),
INTENT(IN) :: nfile, afile, lcname
816CHARACTER (KIND=c_char),
DIMENSION(*),
INTENT(IN) :: cstring
817CHARACTER (LEN=lcname) :: cname
819INTEGER :: start, step
820real(kind=c_double),
INTENT(IN) :: mdc
821real(kind=c_double),
DIMENSION(ndata),
INTENT(IN) :: xdata, ydata
822CHARACTER (LEN=65) :: xlabel
824 CHARACTER(LEN=65) FUNCTION xlegend (job, nleg, idl, cdc, snp)
825 INTEGER,
INTENT(IN) :: job, nleg, idl, snp
826 DOUBLE PRECISION,
INTENT(IN) :: cdc
831 cname(
i:
i) = cstring(
i)
834xlabel =
xlegend(rdc, idc, tfile, mdc, snp)
838if (rdc .eq.
idri) start=3
839if (rdc .eq.
idch) start=2
840if (rdc .eq.
idsp)
then
845if (tfile .eq. 0)
then
847 write (200, *)
"@target G0.S",
nom(2:len_trim(
nom))
848 write (200, *)
"@s",
nom(2:len_trim(
nom)),
" legend """, cname,
""""
849 if (tdata .eq. 1)
then
850 write (200, *)
"@s",
nom(2:len_trim(
nom)),
" line linestyle 0"
856 write (200, 015) xlabel, cname
858do wa=start, ndata, step
859 write (200, 014) xdata(wa), ydata(wa)
863if (nfile .eq. afile-1)
close(200)
865013
FORMAT (
"@type xy")
866014
FORMAT (f20.10,3
x,f20.10)
867015
FORMAT (
"# ",a65,
" ",a36)
868019
FORMAT (
"@type bar")
873 ndata, xdata, ydata, &
874 scalex, scaley, tdata, &
875 mdc, rdc, idc, snp, tfile, lcname, cstring) bind (C,NAME='save_to_file_')
881INTEGER (KIND=c_int),
INTENT(IN) :: scf, rdc, idc, snp, tfile
882INTEGER (KIND=c_int),
INTENT(IN) :: ndata, scalex, scaley, tdata, lcname
883CHARACTER (KIND=c_char),
DIMENSION(*),
INTENT(IN) :: cstring
884CHARACTER (KIND=c_char),
DIMENSION(*),
INTENT(IN) :: sfi
885CHARACTER (LEN=scf) :: sfile
886CHARACTER (LEN=lcname) :: cname
887INTEGER :: step, start
888real(kind=c_double),
INTENT(IN) :: mdc
889real(kind=c_double),
DIMENSION(ndata),
INTENT(IN) :: xdata, ydata
891CHARACTER (LEN=5) :: xaxis=
"xaxis", yaxis=
"yaxis"
892CHARACTER (LEN=65) :: xlabel
893CHARACTER (LEN=36) :: ylabel
895 CHARACTER(LEN=65) FUNCTION xlegend (job, nleg, idl, cdc, snp)
896 INTEGER,
INTENT(IN) :: job, nleg, idl, snp
897 DOUBLE PRECISION,
INTENT(IN) :: cdc
899 CHARACTER (LEN=36) FUNCTION ylegend (job, nleg, idl, snp)
900 INTEGER,
INTENT(IN) :: job, nleg, idl, snp
904ylabel =
ylegend(rdc, idc, tfile, snp)
906 cname(
i:
i) = cstring(
i)
908xlabel =
xlegend(rdc, idc, tfile, mdc, snp)
912if (rdc .eq.
idri) start=3
913if (rdc .eq.
idch) start=2
914if (rdc .eq.
idsp)
then
923open(unit=100, file=sfile,
action=
"write", status=
'unknown')
925if (tfile .eq. 0)
then
927 write (100, 002) xaxis, xlabel
928 write (100, 003) xaxis
929 if (scalex .eq. 1)
write (100, 016)
930 write (100, 004) xaxis, 1.0
931 write (100, 005) xaxis, 0.5
932 write (100, 007) xaxis
933 write (100, 008) xaxis
934 write (100, 002) yaxis, ylabel
935 write (100, 006) yaxis, cname
936 write (100, 003) yaxis
937 if (scaley .eq. 1)
write (100, 017)
938 write (100, 004) yaxis, 1.0
939 write (100, 005) yaxis, 0.5
940 write (100, 007) yaxis
941 write (100, 008) yaxis
944 if (rdc.eq.
idri .or. rdc.eq.
idch)
then
945 if (tdata .eq. 1)
then
948 if (ydata(wa) .ne. 0)
then
951 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" legend ""t",
nom2(2:len_trim(
nom2)),
""""
952 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" line linestyle 0"
953 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" symbol fill pattern 14"
959 if (ydata(wa) .ne. 0)
then
961 write (100, *)
"@target G0.S",
nom(2:len_trim(
nom))
963 write (100, 018) wa, ydata(wa)
968 write (100, 011) cname
972 if (ydata(wa) .ne. 0.0)
write (100, 018) wa, ydata(wa)
975 elseif (rdc .eq.
idsp)
then
976 if (tdata .eq. 1)
then
978 do wa=start, ndata, step
979 if (ydata(wa) .ne. 0)
then
982 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" legend ""t",
nom2(2:len_trim(
nom2)),
""""
983 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" line linestyle 0"
984 write (100, *)
"@ s",
nom(2:len_trim(
nom)),
" symbol fill pattern 14"
989 do wa=start, ndata, step
990 if (ydata(wa) .ne. 0)
then
992 write (100, *)
"@target G0.S",
nom(2:len_trim(
nom))
994 write (100, 018) wa, ydata(wa)
999 write (100, 011) cname
1003 do wa=start, ndata, 2
1004 write (100, 018) wa, ydata(wa)
1007 elseif (rdc.eq.
idsq .or. rdc.eq.
idsk)
then
1008 write (100, 011) cname
1012 write (100, 014) xdata(wa), ydata(wa)
1015 if (tdata .eq. 0)
then
1016 write (100, 011) cname
1020 write (100, 011) cname
1025 write (100, 014) xdata(wa), ydata(wa)
1029 write (100, 015) xlabel, cname
1030 do wa=start, ndata, step
1031 write (100, 014) xdata(wa), ydata(wa)
1036001
FORMAT (
"@with g0")
1037002
FORMAT (
"@ ",a5,
" label """,a65)
1038003
FORMAT (
"@ ",a5,
" tick on")
1039004
FORMAT (
"@ ",a5,
" tick major size ",f8.6)
1040005
FORMAT (
"@ ",a5,
" tick minor size ",f8.6)
1041006
FORMAT (
"@ ",a5,
" label ",a36)
1042007
FORMAT (
"@ ",a5,
" ticklabel on")
1043008
FORMAT (
"@ ",a5,
" ticklabel char size 0.800000")
1044009
FORMAT (
"@ legend on")
1045010
FORMAT (
"@ legend box linestyle 0")
1046011
FORMAT (
"@ s0 legend """,a50,
"""")
1047012
FORMAT (
"@target G0.S0")
1048013
FORMAT (
"@type xy")
1049014
FORMAT (f20.10,3
x,f20.10)
1050015
FORMAT (
"# ",a65,
" ",a36)
1051016
FORMAT (
"@ xaxes scale Logarithmic")
1052017
FORMAT (
"@ yaxes scale Logarithmic")
1053018
FORMAT (i4,5
x,f20.10)
1054019
FORMAT (
"@type bar")
character(len=2), dimension(:), allocatable tl
subroutine charint(word, num)
character(len=65) function xlegend(job, nleg, idl, cdc, snp)
subroutine save_to_file(scf, sfi, ndata, xdata, ydata, scalex, scaley, tdata, mdc, rdc, idc, snp, tfile, lcname, cstring)
character(len=36) function ylegend(job, nleg, idl, snp)
subroutine prep_file(scf, sfi, snp, tfile, scalex, scaley, mdc, rdc, idc)
subroutine append_to_file(ndata, xdata, ydata, mdc, tdata, rdc, idc, snp, tfile, nfile, afile, lcname, cstring)