did you realize the
line 30: warning: Skipping unreadable file "vels1and12.txt "
messages when plotting?
remove the trailing blank from the filename and everything should work.
and, change the range and tics set commands:
set yrange [0:30]
set xrange [-1.00:1.00]
set xtics 0.40
set mxtics 5
set ytics 5
set mytics 5
pban92 wrote:
>
> Hello,
>
> Here is the code,
>
> ====================================
>
> clear
> set term postscript eps enhanced "Helvetica" 20
> set output "profiles1ands12.eps"
>
> set style line 1 lt 1 lw 1
> set style line 2 lt 2 lw 2
> set style line 3 lt 3 lw 3
> set style line 4 lt 4 lw 4
> set style line 5 lt 5 lw 5
>
> set xrange [0:30]
> set yrange [-1.00:1.00]
> set ytics 0.40
> set mytics 5
> set xtics 5
> set mxtics 5
> set grid
> set xlabel "x/D"
> set ylabel "u [m/s]"
>
> plot "vels1and12.txt" u 1:2 t 'CS1' w l ls 1, \
> "vels1and12.txt" u 1:3 t 'CS12' w l ls 1, \
> "vels1and12.txt " u 1:4 t 'F_0S1' w l ls 2, \
> "vels1and12.txt " u 1:5 t 'F_0S12' w l ls 2, \
> "vels1and12.txt " u 1:6 t 'F_1S1' w l ls 3, \
> "vels1and12.txt " u 1:7 t 'F_1S12' w l ls 3, \
> "vels1and12.txt " u 1:8 t 'F_2S1' w l ls 4, \
> "vels1and12.txt " u 1:9 t 'F_2S12' w l ls 4, \
> "vels1and12.txt " u 1:10 t 'F_3S1' w l ls 5, \
> "vels1and12.txt " u 1:11 t 'F_3S12' w l ls 5
>
>
> ======================================
>
> The output file has everything except the function. Pls advise!
> Here is the text file:
> http://old.nabble.com/file/p30667526/vels1and12.txt vels1and12.txt
>
> Cheers!
>
--
View this message in context: http://old.nabble.com/Everything-but-the-function-is-not-appearing-tp30667526p30669655.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|