GenericMappingTools / gmt

The Generic Mapping Tools
https://www.generic-mapping-tools.org
Other
860 stars 359 forks source link

colorbar length as a percentage relative to a map side #5771

Closed OgnevinGeo closed 3 years ago

OgnevinGeo commented 3 years ago

Description of the desired feature

Hello dear PyGMT community,

I would like to request a feature that will allow to set a colorbar's length to any desired percentage relative to a map side. Currently, it is set to 80 % by default, and a user needs to provide a specific value with +w modifier to change the colorbar's length. It would be very nice though if one could set any arbitrary number in percents of a map side, like 100 % as sometimes is asked by reviewers during the publication process.

This request is the follow-up to the discussion in the GMT community forums.

Thank you.

Are you willing to help implement and maintain this feature? No, I don't think I have enough skills so far

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.

seisman commented 3 years ago

FYI, I have transferred the issue to the GMT repository, as it's easier (and useful) to implement the feature on the GMT side.

Esteban82 commented 3 years ago

Great idea. And I think it would be useful for GMT as well.