Bug #454

Unable to just draw grid lines

Added by Paul almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:2013-12-02
Priority:NormalDue date:
Assignee:Paul% Done:


Target version:Candidate for next minor release
Affected version:5.x-svn Platform:


There is no way to specify --B so that none of the frames are drawn. This is useful when you just want to draw one or more gridlines but do not want any frame. Perhaps --B- to select no frame?

only_grid.png (11.7 KB) Anonymous, 2013-12-08 08:00


#1 Updated by Anonymous almost 8 years ago

something like this [5.1.1_r12614]?

cat > only_grid.d << EOF
1 g
2 g
3 g
4 g
5 g
6 g
7 g
8 g
9 g
psbasemap -R0/10/0/10 -JX10 -Bconly_grid.d --MAP_FRAME_AXES='' > only_grid.ps
rm -f only_grid.d gmt.conf gmt.history

#2 Updated by Paul over 7 years ago

Yes but that is hardly a nice solution and it is not a custom spacing so should not have to go to -Bc for this.
I will implement something that does not interfere with other options.

#3 Updated by Paul over 7 years ago

  • Status changed from New to Resolved
  • Target version changed from Candidate for next bugfix release to Candidate for next minor release

Implemented via -B+n for no frame. We needed a special switch since not giving any sides means the default of all 4 sides. Added as a new feature in r12684 in branch 5.2.0.

#4 Updated by Paul over 7 years ago

  • Status changed from Resolved to Closed

Closed since implemented in future 5.2.0 branch.

Also available in: Atom PDF