Hi all, Using filled.contour... foo <- matrix(seq(0.1, 0.9, 0.1), ncol = 3) filled.contour(foo) how can I set the key axis to give percentages? And is there a way to automatically label the key axis except for placing text there? Thanks Haiko Haiko Lietz GESIS - Leibniz Institute for the Social Sciences Department of Computational Social Science Unter Sachsenhausen 6-8, D-50667 K?ln Tel: + 49 (0) 221 / 476 94 -223 eMail: haiko.lietz at gesis.org<mailto:haiko.lietz at gesis.org> Web: http://www.gesis.org<http://www.gesis.org/> [[alternative HTML version deleted]]
On Mon, 18 Aug 2014 08:51:57 AM Lietz, Haiko wrote:> Hi all, > > Using filled.contour... > > foo <- matrix(seq(0.1, 0.9, 0.1), ncol = 3) > filled.contour(foo) > > how can I set the key axis to give percentages? > > And is there a way to automatically label the key axis except forplacing> text there? > > Thanks > > HaikoHi Haiko, Try this: filled.contour(foo, plot.axes={axis(1); axis(2,at=seq(0,1,by=0.2),labels=seq(0,100,by=20))}, key.axes {axis(4,at=seq(0,1,by=0.2),labels=seq(0,100,by=20))}) Jim