Re: Expected input for -So option

Peter Schmidt <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Yeah sorry about that, I should have posted the command and some input 
data (especially since I have been bothering others for this information)

I also found out what the problem were (and forgott to reply my own 
question). Naively I thought that when using the -C option on psxyz in 
combination with -So, (or -SO for that matter) the colorlookup would be 
based on the height of the column which is not the case as should not be 
either. Thus the missing fourth value is the value to use for colorlookup...

Anyway, I've stumbled across another minor obstacle that some of you may 
advice me on. How to compute a proper size of the column.

What I'm trying to accomplish is a map of the Swedish seismicity binned 
into bins of say 0.05 degrees in lat and lon. Now my problem is probably 
that I do not fully grasp what is meant by "x-units" and "plot-distance 
units" in the manpage of psxyz (in the description of the -So option). 
For one thing it seems that the size should be latitude dependent and 
further a diferent scale factor is needed for x and y.

In the end I fell back to plotting the faces of the columns one-by-one 
using psxyz and surprisingly this turned out to also cut the execution 
time of my script by up to 90% so for the moment I all happy. But still 
there is that unpleasant feeling that here is something I have not 
grasped and therefore some insight to the meaning of "x-units" and 
"plot-distance units" as well as how to properly compute the size of a 
column would be highly appreciated.


regards Peter


On 12/03/2013 09:57 PM, Paul Wessel wrote:
> Peter-
>
> It may depend on what else is on your command line.  If you are still stuck, please post an actual command and an example of your data record.
> -p
>
> On Dec 2, 2013, at 6:08 AM, Peter Schmidt <[email protected]> wrote:
>
>> Hi All
>>
>> Im trying to plot some 3D columns using psxyz but fail to provide the correct input format. My -So option specifies the width of the column and in the data file I have lon, lat, height, but still I get the error:
>>
>> psxyz: Mismatch between actual (3) and expected (4) fields near line 1 (skipped)
>>
>> anyone having any ideas as to what the 4'th expected value is?
>>
>> regards Peter
>>
>> -- 
>> ********************************************************************************
>> Peter Schmidt                                      Tel: +46-18-4717104
>> Swedish National Seismological Network (SNSN)   Mobile: +46-73-3190975
>> Dept. of Earth Sciences:geophysics              e-mail: [email protected]
>> Uppsala University
>> Villavagen 16
>> SE-75236 Uppsala
>> ********************************************************************************
>>
>> To unsubscribe, send the message "signoff gmt-help" to [email protected]
> To unsubscribe, send the message "signoff gmt-help" to [email protected]

-- 
********************************************************************************
Peter Schmidt                                      Tel: +46-18-4717104
Swedish National Seismological Network (SNSN)   Mobile: +46-73-3190975
Dept. of Earth Sciences:geophysics              e-mail: [email protected]
Uppsala University
Villavagen 16
SE-75236 Uppsala
********************************************************************************

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.