Re: setting vector head shape

Paul Wessel <[email protected]> Thu, 28 Aug 2014 08:50:49 -1000
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
--Apple-Mail=_20DE2F88-89F5-4DE2-80FC-10B5F9000A6E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

You can use the +a<angle> modifier to increase the angle at the vector =
head apex.  it defaults to 30 degrees. Giving it 150 and a shorter =
length might work.
-p

On Aug 28, 2014, at 8:23 AM, Eric Lindsey <[email protected]> wrote:

> Dear all,
>=20
> Is it possible in GMT5 to control the shape of vector heads? I'd like =
to make a short, fat vector with a head wider than the bar, but keep =
finding that the shorter it gets, the smaller the head becomes (even if =
I don't set the +n option...). I can make the bar thick (eg. using =
-W25p), but the head remains the same size, leaving me with a head =
that's thinner than the bar! For example:
>=20
> echo "0 0 1 .5 " |gmt psvelo -Jx0.4/0.4 -R-10/10/-10/10 -B2g10 -W25p =
-L -Se3/0/18 -A30p+e -P -V > test.ps
>=20
> Changing the head size directly (eg. -A90p+e) makes the head wider, =
but too long. Ideally, I'd like to make something more like this arrow:
>=20
> =
http://www.wpclipart.com/blanks/arrows/arrows_BW/arrow_hollow_right.png
>=20
> I'm stumped -- there must be a clean way to do this.
>=20
> Eric
> Mailing list for GMT discussions of all kinds. If you are not sure you =
have found a bug, discuss it here first. To formally report bugs or =
request features, please register and add New Issue on =
gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" =
to [email protected] Note: gmt-help will become obsolete on Sept =
1, 2014 - please use forum on gmt.soest.hawaii.edu instead.


Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

--Apple-Mail=_20DE2F88-89F5-4DE2-80FC-10B5F9000A6E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">You =
can use the +a&lt;angle&gt; modifier to increase the angle at the vector =
head apex. &nbsp;it defaults to 30 degrees. Giving it 150 and a shorter =
length might work.<div>-p</div><div><br><div><div>On Aug 28, 2014, at =
8:23 AM, Eric Lindsey &lt;<a =
href=3D"mailto:[email protected]">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div dir=3D"ltr">Dear all,<div><br></div><div>Is it =
possible in GMT5 to control the shape of vector heads? I'd like to make =
a short, fat vector with a head wider than the bar, but keep finding =
that the shorter it gets, the smaller the head becomes (even if I don't =
set the +n option...). I can make the bar thick (eg. using -W25p), but =
the head remains the same size, leaving me with a head that's thinner =
than the bar! For example:</div>
<div><br></div><div>echo "0 0 1 .5 " |gmt psvelo -Jx0.4/0.4 =
-R-10/10/-10/10 -B2g10 -W25p -L -Se3/0/18 -A30p+e -P -V &gt; <a =
href=3D"http://test.ps/">test.ps</a><br></div><div><br></div><div>Changing=
 the head size directly (eg. -A90p+e) makes the head wider, but too =
long. Ideally, I'd like to make something more like this arrow:</div>
<div><br></div><div><a =
href=3D"http://www.wpclipart.com/blanks/arrows/arrows_BW/arrow_hollow_righ=
t.png">http://www.wpclipart.com/blanks/arrows/arrows_BW/arrow_hollow_right=
.png</a><br></div><div><br></div><div>I'm stumped -- there must be a =
clean way to do this.</div>
<div><br></div><div>Eric<br></div></div>
Mailing list for GMT discussions of all kinds.  If you are not sure you =
have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New =
Issue on <a href=3D"http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a>
To unsubscribe, send the message "signoff gmt-help" to <a =
href=3D"mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum =
on <a href=3D"http://gmt.soest.hawaii.edu">gmt.soest.hawaii.edu</a> =
instead.
</blockquote></div><br></div></body></html>=
Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message &quot;signoff gmt-help&quot; to <a href=3D"mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

--Apple-Mail=_20DE2F88-89F5-4DE2-80FC-10B5F9000A6E--