I want to FILL colors of the polygon (converted from .shp ESRI shapefile) based on an attribute (here OBJECTID, Area) from lookup color (.cpt), but I am getting colored outline of each polygon. I attached my result (polygon.png) using below command.

psxy river_b.gmt $range $proj -X2i -Y3i -Ba1WESN -aZ=OBJECTID -Criver_b.cpt -K -P >! $outfile

Please suggest me which gmt command will work here.

enter image description here

I am attaching a example what kind of map I want to make in GMT. enter image description here

  • Open the .gmt file with a text editor. Don't you really see any attributes in there? – user30184 Aug 26 '18 at 15:14
  • Thanks Damini, I can see attributes. It shows attribute differently not in a column. But in a row. That's why I was not able to find it. still can you help me to make above plots in gmt software. Please let me know. – Amit Aug 26 '18 at 17:30
  • I reformatted my question. Please suggest me to solve above issue. – Amit Aug 30 '18 at 6:07

For the record, same question and answer made in https://gmt.soest.hawaii.edu/boards/1/topics/7553

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.