GMT fill on with a psxy segmented data
i have a litlle problem,
I want to fill some psxy data who are separated by a delimiter ">"
i use the command :
psxy file -R -J -m -G0/255/0 -W0/255/0 -V>>$FILE
But it's just giving to me the contour of my location, without fill them !
I don't understand why, can you help me ?
RE: GMT fill on with a psxy segmented data - Added by Thomas 7 months ago
Okay, i find something
In my data , after a ">" i put
I want to plot a pink/fushia dashed line trasnparent, because i have other symbol under the dash.
Can you correct me please ?
RE: GMT fill on with a psxy segmented data - Added by Paul 7 months ago
Looks like you are running a pretty old version of GMT, maybe 4, based on your syntax. Putting a -G statement in the segment header will paint polygons but you man also need to give it -Gsomecolor on the command line; this will then be replaced by what is in the file. You would only do it that way if you have many segment and they should have different colors. Alternatively, you can add -Z<val> entries in the file and use -C<cpt> to assign colors based on the z values. You also talk about line style and color but -G sets fill, not color. If you want a special pen then you need to work with -W.
RE: GMT fill on with a psxy segmented data - Added by Thomas 6 months ago
It's working well ! thanks