GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add a new option, -H, that will stop the annotations auto-scale. by joa-quim · Pull Request #8810 · GenericMappingTools/gmt

Conversation

@joa-quim

@joa-quim joa-quim commented Oct 9, 2025

Copy link
Copy Markdown
Member

See discussion at #8796 (comment)

This applies to both modern and classic mode. Sadly the change to the auto-scaling behavior did not let an escape route to the situations where user to have full control of font sizes. Not even in classic mode, where auto-scaling is not supposed to happen. This new option restores that power.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@joa-quim
Add a new option, -H, that will stop the annotations auto-scale.
655c1e7
See discussion at #8796 (comment)

This applies to both modern and classic mode. Sadly the change to the auto-scaling behavior did not let an escape route to the situations where user to have full control of font sizes. Not even in classic mode, where auto-scaling is not supposed to happen. This new option restores that _power_.
@joa-quim joa-quim mentioned this pull request Oct 9, 2025
label font for colorbar is smaller than FONT_LABEL? #8796
Open
@joa-quim
joa-quim requested a review from a team October 9, 2025 16:17
@Esteban82 Esteban82 assigned joa-quim Oct 9, 2025
@Esteban82 Esteban82 added enhancement Improving an existing feature add-changelog Add PR to the changelog labels Oct 9, 2025
@Esteban82
Esteban82 self-requested a review October 9, 2025 16:32
@Esteban82

Esteban82 commented Oct 9, 2025

Copy link
Copy Markdown
Member

I got this figure:

labeltest

Full script with -H in colorbar.

gmt begin labeltest png
gmt grdimage @earth_relief_01m -R-10/10/48/60 -Coleron -JM10c -BneSW -Bxaf -Byaf
gmt colorbar -Bxa1000+l"Elevation (m)" --FONT_LABEL=20p,Helvetica -H
echo "Elevation (m)" |  gmt text -F+f20p,Helvetica+cBC -D0/-3c -N 
gmt end
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Esteban82
Esteban82 approved these changes Oct 9, 2025
View reviewed changes
@joa-quim
Update docs for the new -H option
769f092
@joa-quim
joa-quim merged commit df3760b into master Oct 12, 2025
@joa-quim
joa-quim deleted the psscale-no-autoscale-opt branch October 12, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Esteban82 Esteban82 Esteban82 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@joa-quim joa-quim

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@joa-quim @Esteban82
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.