l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Sep 21 22:03

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] gnuplot help: removing unwanted tickmarks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] gnuplot help: removing unwanted tickmarks

I have a graph, made in gnuplot. It has dollars on the left Y axis and acres
on the right Y axis. Both Y independent Y axes are plotted against a common
X axis. Unfortunalely, the tickmarks from the left axis appear on both sides
of the plot, so the right side has two sets of tickmarks, one bogus. I don't
know how to remove the unwanted tickmarks from the right side. Can anyone

The gnuplot script and data file are attached.

Henry House
Please don't send me HTML mail! My mail system will reject it.
The unintelligible text that may follow is a digital signature.
See <http://hajhouse.org/pgp> to find out how to use it.
My OpenPGP key: <http://hajhouse.org/hajhouse.asc>.

#year	  ac  	  totval
1997 	 6833 	37385000
1998 	 8410 	46837000
1999 	 8704 	35431000
2000 	 9496 	40873000
2001 	10242 	33241000
2002 	 9699 	44675000
2003 	10334 	37366000
set title 'Grapes, wine'
set terminal postscript
set ylabel "millions of dollars"
set y2label "acres" 
set yrange [0.000:50.000]
set y2range [6000:14000]
set y2tics 
set y2tics 6000, 500, 12000
plot "grapes.dat" using ($1):($3 / 1000000) axes x1y1 title 'gross value' with lp lw 3 pt 4, \
"grapes.dat" using ($1):($2) axes x1y2 title 'acres' with lp lw 3 pt 3

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.