Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!usc!apple!oliveb!orc!decwrl!chico.pa.dec.com!klee From: klee@chico.pa.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Plotting Markers Message-ID: <2355@bacchus.dec.com> Date: 29 Dec 89 19:18:06 GMT References: <210@hal.CSS.GOV> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 24 In article <210@hal.CSS.GOV>, nancie@hal.CSS.GOV (Nancie Matson) writes: > I would like to find out if there is an Xlib command > similar to the GKS command gpolymarker. I have tried > using the XDrawPoints command, but the points that are > plotted to the screen are barely visible. I was wondering > if there is a way to resize the plotted point, or even > change it's representation to a X, * or even a hollow circle. The graphics facilities in X are somewhat primitive, as X is intended to be a layer below graphics systems like PHIGS, GKS, or Display PostScript. If you're planning to do sophisticated graphics, you're probably best off getting one of these higher level graphics systems, built on top of X. Many vendors sell them (I can recommend one :-)). If all you need is markers, you can build a marker facility based on X line segments, circles, pixmaps, images, and/or characters. Use the geometry/extents attributes to center/size the markers. None of these objects support resizing, moving, or repainting. You'll have to do that yourself. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@decwrl.dec.com uucp: uunet!decwrl!klee