|
From: Trillianx <ro...@ph...> - 2009-12-14 23:12:15
|
I have been having this problem with vanishing small tics. This ONLY works
when I let gnuplot use its default x-axis values. When I change them using
"set xtics" command as shown below, they disappear.
set xtics ("M5.0" 1.00000, "M6.0" 2.00000, "M7.0" 3.0, "M8.0" 4.0, "M9.0"
5.0)
The small tics in the x-axis disappear but they remain in the y-axis. The
entire code is given below. I also have the screenshot attached.
http://old.nabble.com/file/p26780264/screen-capture-2.jpg
Thanks for the help in advance!
Trillian
set terminal wxt enhanced
set mxtics 5
set mytics 5
#*****************************************************************************
set xrange[0.5:6]
set yrange[0.0:1.0]
unset key
set encoding iso_8859_1
set xlabel "Wavelength (\305)"
set ylabel "Equivalent Width"
set title "Order 60 at 1.2820"
set label "{/Symbol m}m" at 3.79,1.05
#*****************************************************************************
f(x) = m*x + b
fit [1:5.5] m*x + b "12820.dat" u 1:2 via m,b
#set label "y = 0.933x + 1.051" at 0.75, 6.0
set xtics ("M5.0" 1.00000, "M6.0" 2.00000, "M7.0" 3.0, "M8.0" 4.0, "M9.0"
5.0)
#******************************************************************************
set terminal postscript eps enhanced
set output 'ew65.eps'
#*******************************************************************************
plot "12820_mean.dat", f(x)
#plot "12820.dat","12820_mean.dat", f(x)
#plot "12820_mean.dat" w errorbars, f(x)
#*******************************************************************************
!epstopdf ew65.eps && rm ew65.eps
--
View this message in context: http://old.nabble.com/Vanishing-small-tics-tp26780264p26780264.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|