Advertisement
Guest User

Untitled

a guest
Mar 25th, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/gnuplot -persist
  2. # Gnuplot script file
  3. reset
  4. set terminal pngcairo transparent enhanced  # Set Terminal type
  5. set output 'u_profile.png' # Output file
  6. set key vertical Right noreverse enhanced autotitle box lt black linewidth 1.000 dashtype solid
  7. set title "Profile U(u,y)"
  8. set xlabel "Velocidad [m/s]"
  9. set ylabel "Largo y [m]"
  10. set autoscale # Have Gnuplot determine ranges
  11. plot "u/data_u.dat" every :::4::4 using 3:2 with linespoints # Plot data
  12. #every A:B:C:D:E:F      A: line increment, B: data block increment C: The first line D: The first data block E: The last line F: The last data block
  13. set terminal wxt 1
  14. set output
  15. replot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement