Displaying 7 results from an estimated 7 matches for "xdrawline".
Did you mean:
drawline
2000 Feb 11
1
followup to graphics bug #414
I have done a little bit of poking around at the bug that I reported
earlier (steep slopes and lines from far outside the plot range doing
funny things), and have tracked it down to the fact that, as noted in the
Unix man page, XDrawLine[s] doesn't like coordinates that are outside of
the range of (-32767,32767).
Now the question is, what to do about this? A quick "fix" (not a fix but
at least an acknowledgement of the problem) would check coordinates in
GLine() and issue a warning instead of trying to draw anything...
2007 Jun 08
1
Location of xgraphics routines
Hi
I have an application that uses the Xwindows graphics library. Things
like
XOpenDisplay
XDrawLine
XCreateSimpleWindow
XDrawString
and many more
Under all the CENTOS 4.X systems these were automatically loaded.
I dont have these loaded under my CENTOS 5 system.
I get a heap of undefined references when I compile the code.
Could someone tell me, point me, where these routines now reside on th...
1999 Feb 16
3
graphics bug: type="l" (PR#120)
The following commands illustrate a problem with graphing relatively large
data sets using the "line" option to plot:
temp <- runif(200000) # or whatever other numbers you like;
# same thing happens with a sine wave
plot(1:200000, temp) # everything fine
plot(1:200000, temp, type="l") # data gets cut off
The number of points isn't crucial. The cutoff point
1999 Feb 16
1
Missing tick marks bug on alpha solved
...In-place conversion ok */
GConvert(&x1, &y1, coords, DEVICE, dd);
GConvert(&x2, &y2, coords, DEVICE, dd);
xx1 = (int) x1;
yy1 = (int) y1;
xx2 = (int) x2;
yy2 = (int) y2;
SetColor(dd->gp.col, dd);
SetLinetype(dd->gp.lty, dd->gp.lwd, dd);
XDrawLine(display, xd->window, xd->wgc, xx1, yy1, xx2, yy2);
XSync(display, 0);
}
--
George White <aa056 at chebucto.ns.ca> tel: 902.426.8509
Bedford Inst. of Oceanography, Nova Scotia, Canada.
On Thu, 11 Feb 1999, Albrecht Gebhardt wrote:
>
> On Thu, 11 Feb 1999, George White wr...
1998 Oct 28
1
Request for help with compiling R on a DEC Alpha
....a -
lm
ld:
Unresolved:
XLoadQueryFont
XOpenDisplay
XInternAtom
XCreateFontCursor
XCreateGC
XCreateWindow
XDefaultRootWindow
XSetWMProtocols
XAllocColor
XAllocNamedColor
XChangeProperty
XCheckTypedEvent
XClearWindow
XCloseDisplay
XDefaultDepth
XDefaultScreen
XDefineCursor
XDestroyWindow
XDrawArc
XDrawLine
XDrawLines
XDrawRectangle
XFillArc
XFillPolygon
XFillRectangle
XFreeColors
XFreeCursor
XFreeGC
XMapWindow
XNextEvent
XPending
XSelectInput
XSetClipRectangles
XSetDashes
XSetFont
XSetLineAttributes
XSetState
XSetWindowBackground
XSync
XTextWidth
XUnloadFont
XFindContext
XSaveContext
XrmUniqueQuark
X...
2000 Feb 07
0
graphics bugs: steep slopes and large values beyond ylim (PR#414)
...plot, semi-random lines appear on the plot.
plot(exp(1:100),ylim=c(0,10),type="l")
Any thoughts? I poked a little bit at this myself: abline calls GLine, neither of them
seems to do much checking whether the endpoints of the line to be drawn are way outside of the
window (I guess that XDrawLine, which gets called by GLine, can't handle this).
I guess this should probably be fixed at the the level of GLine (it might fix both of
the above problems, but I'm a little bit afraid digging this deeply into the graphics drivers.
Maybe it will be obvious to someone closer to the code?
--...
2000 Oct 23
3
behaviour of plot(...,type="l")
plot(rnorm(100000),type="l")
plots only about 7e4 lines while the same without type="l" works fine.
Is this a feature or a bug or is this configurable?
R : Copyright 2000, The R Development Core Team
Version 1.1.1 (August 15, 2000)
SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1
Thanks
Adrian
--
Adrian Trapletti, Olsen & Associates Ltd., See-
feldstrasse