Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1178

Re: point type - hexagon/user-defined

Path csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: point type - hexagon/user-defined
Followup-To comp.graphics.apps.gnuplot
Date Tue, 05 Jun 2012 08:36:33 -0700
Organization gnuplot development team
Lines 20
Message-ID <jql922$qsp$1@dont-email.me> (permalink)
References <ca50f458-e8a5-4566-91e7-9ff3d1adcd65@googlegroups.com>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
Injection-Date Tue, 5 Jun 2012 15:36:35 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="27545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19s1R6yeskNTi2sMWiwnmlU"
User-Agent KNode/4.4.9
Cancel-Lock sha1:eoRxgXw4HTsXqLqOAUn1L7zld3E=
Xref csiph.com comp.graphics.apps.gnuplot:1178

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


nilay wrote:

> Hello,
> 
> I want to plot my data points with hexagon point-type.
> This shape is not listed in the standard point-type list.
> How can I define it and use it?

There is no general mechanism for defining new point shapes,
although it can be done for some terminals (e.g. PostScript).

However for a hexagon in particular you can use the
following trick, assuming you have a font with the appropriate
character.

HEX = "⬢"	# unicode point 0x2B22 BLACK HEXAGON
           	# UTF-8: 0xE2 0xAC 0xA2

plot foo using 1:2:(HEX) with labels

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

point type - hexagon/user-defined nilay <nilaybhatt@gmail.com> - 2012-06-04 23:22 -0700
  Re: point type - hexagon/user-defined sfeam <sfeam@users.sourceforge.net> - 2012-06-05 08:36 -0700
    Re: point type - hexagon/user-defined nilay <nilaybhatt@gmail.com> - 2012-06-10 21:15 -0700

csiph-web