Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Plotting a hist...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3382 of 3637
Post > Topic >>

Plotting a histogram

by contracer11@[EMAIL PROTECTED] Jun 25, 2008 at 07:05 AM

Hi:

Can you tell me how put date in x column ?
I=B4m receiving this error below :

solaris> /var/apache/htdocs # vi hist_espelho3
"hist_espelho3" 54 lines, 1458 characters
#set terminal pdf colour enhanced
set term jpeg small
set output "/var/apache/htdocs/relat_espelho_histogram.jpeg
set size 1.2,0.4
set style data histogram
set style histogram clustered gap 2
set style fill solid 1.0 border -1
set grid ytics
#set xrange [0:*]
set xlabel "Periodo" font "Helvetica-Bold"
set ylabel "Quantidade" rotate by 90 font "Helvetica-Bold"
set xtics out nomirror scale 0 offset character 4,0
set ytics out nomirror
set yrange ["0" : "1500"]
set ytics 0,500,1500
set xdata time
set timefmt "%Y/%m"
set format x "%b\n%Y"
set xtics
("06/2007","07/2007","08/2007","09/2007","10/2007","11/2007","12/2007","01/=
2008","02/2008","03/2008","04/2008","05/2008
")
#plot '-' using 2:xticlabels(1) linecolor rgb 'blue' title "Some key"
plot '/var/apache/htdocs/hist_data' using 2:xticlabels(1) linecolor
rgb 'blue' title ""


solaris> /var/apache/htdocs # /usr/local/bin/gnuplot hist_espelho3

plot '/var/apache/htdocs/hist_data' using 2:xticlabels(1) linecolor
rgb 'blue' title ""
=20
^
"hist_espelho3", line 20: Need full using spec for x time data
 




 1 Posts in Topic:
Plotting a histogram
contracer11@[EMAIL PROTEC  2008-06-25 07:05:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 6:09:28 CST 2008.