[R] Missing tick marks bug on alpha solved

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Feb 16 17:27:53 CET 1999


George White <gwhite at bodnext.bio.dfo.ca> writes:

> On some systems (alpha), tick marks don't appear on plots.  The easiest
> way to see the problem is something like:
> 
> > plot(0:1,axes=FALSE)
> > axis(1,1:2)
> 
> The problem is in X11_Line(...) from .../src/unix/devX11.c, which is
> so short I've included the whole function below:
> 
> static void X11_Line(double x1, double y1, double x2, double y2,
>                      int coords, DevDesc *dd)
> {
>     double xx1, yy1, xx2, yy2;              <----------- should be int!

Indeedy.. Fixed for 0.63.3. However, I believe that this points to an
include file problem, because if the XDrawLine call had been properly
prototyped, all that should happen is a silly double->int->double->int
coercion maneuver. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list