Leeds, Mark (IED)
2007-Mar-31 00:08 UTC
[R] X11 and linux and plotting and the vertical axis
I use R on linux and I go through exceed from a windows machine. Depending on the amount of plots I do on a screen, sometimes the numbers on the vertical axis of the plots don't show up. I tried infinite of combinations of mar and cex but nothing helps. Yet, if instead of shooting the graphic upto the screen, I send it to a pdf file or a postscript file, the numbers on the vertical axis of the plots do show up. I've included a test.pdf file that shows the plot but the #'s show up there and not if I send the same plot to the screen. Below my version info, I've also included the output of doing par() at the prompt in case that some of my default settings look weird. I know next to nothing about R graphics but the problem definitely doesn't have anything to do with mar or cex though because I've played with them pretty much the whole day. If anyone knows of a thread on this or knos what needs to be changed, it would Be much appreciated. Thanks. version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 2 minor 4.0 year 2006 month 10 day 03 svn rev 39566 language R version.string R version 2.4.0 (2006-10-03) par() $xlog [1] FALSE $ylog [1] FALSE $adj [1] 0.5 $ann [1] TRUE $ask [1] FALSE $bg [1] "transparent" $bty [1] "o" $cex [1] 1 $cex.axis [1] 1 $cex.lab [1] 1 $cex.main [1] 1.2 $cex.sub [1] 1 $cin [1] 0.1730130 0.1960814 $col [1] "black" $col.axis [1] "black" $col.lab [1] "black" $col.main [1] "black" $col.sub [1] "black" $cra [1] 15 17 $crt [1] 0 $csi [1] 0.1960814 $cxy [1] 0.02996404 0.03781139 $din [1] 6.989727 6.989727 $err [1] 0 $family [1] "" $fg [1] "black" $fig [1] 0 1 0 1 $fin [1] 6.989727 6.989727 $font [1] 1 $font.axis [1] 1 $font.lab [1] 1 $font.main [1] 2 $font.sub [1] 1 $gamma [1] 1 $lab [1] 5 5 7 $las [1] 0 $lend [1] "round" $lheight [1] 1 $ljoin [1] "round" $lmitre [1] 10 $lty [1] "solid" $lwd [1] 1 $mai [1] 1.000015 0.803934 0.803934 0.411771 $mar [1] 5.1 4.1 4.1 2.1 $mex [1] 1 $mfcol [1] 1 1 $mfg [1] 1 1 1 1 $mfrow [1] 1 1 $mgp [1] 3 1 0 $mkh [1] 0.001 $new [1] FALSE $oma [1] 0 0 0 0 $omd [1] 0 1 0 1 $omi [1] 0 0 0 0 $pch [1] 1 $pin [1] 5.774022 5.185778 $plt [1] 0.1150165 0.9410891 0.1430693 0.8849835 $ps [1] 12 $pty [1] "m" $smo [1] 1 $srt [1] 0 $tck [1] NA $tcl [1] -0.5 $usr [1] 0 1 0 1 $xaxp [1] 0 1 5 $xaxs [1] "r" $xaxt [1] "s" $xpd [1] FALSE $yaxp [1] 0 1 5 $yaxs [1] "r" $yaxt [1] "s" -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This is not research and is not from MS Research but it may refer to a research analyst/research report. Unless indicated, these views are the author's and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use e-mail to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to effect any other transactions. We cannot guarantee that any such requests received via e-mail will be processed in a timely manner. This communication is solely for the addressee(s) and may contain confidential information. We do not waive confidentiality by mistransmission. Contact me if you do not wish to receive these communications. In the UK, this communication is directed in the UK to those persons who are market counterparties or intermediate customers (as defined in the UK Financial Services Authority's rules).