You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 jaren geleden
6 jaren geleden
7 jaren geleden
123456789101112131415161718192021222324
  1. set preamble "\usepackage{amsmath}"
  2. set width 14*unit(cm)
  3. set axis x arrow nomirrored
  4. set axis y arrow nomirrored
  5. set yrange [0:2.2]
  6. set key top left
  7. unset ytics
  8. set grid
  9. set terminal pdf
  10. set logscale x
  11. #set xtics 0.1,10,100
  12. set output "spectrum.pdf"
  13. set xlabel "Frequency [Hz]"
  14. set ylabel "Acceleration"
  15. plot "spectrum-x.dat" w lp lw 5 lt 2 pt 16 color red ti "$s_x(f)$",\
  16. "spectrum-y.dat" w lp lw 3 lt 3 pt 17 color green ti "$s_y(f)$",\
  17. "spectrum-z.dat" w lp lw 1 lt 4 pt 18 color blue ti "$s_z(f)$"