Skip to content
Back to formatted view

Raw Message

Message-ID: <OF6AAC9417.D06FF430-ON802574BB.0039773F-802574BB.003A6ACF@hsl.gov.uk>
Date: 2008-09-05T10:41:06Z
From: Richard Cotton
Subject: controlling lattice plot ticks with relation="free"

How do you persuade lattice to draw tick marks on both the left and right 
side of the y-axis, when relation="free" in the scales component?

#Ticks appear on both sides
histogram(~height|voice.part, data=singer)

##Ticks only on left
histogram(~height|voice.part, data=singer, 
scales=list(y=list(relation="free")))

Providing tck as a vector of length 2 doesn't seem to work, neither does 
setting alternating=3 (since the argument is ignored, and I don't really 
want the labels on both sides - just the ticks).

I'm sure I'm missing something obvious.

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}