Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Addminorloglabels to cartesian axes#7468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
archmoj merged 6 commits intomasterfromloglabels
Jul 17, 2025
Merged

feat: Addminorloglabels to cartesian axes#7468

archmoj merged 6 commits intomasterfromloglabels
Jul 17, 2025

Conversation

@archmoj
Copy link
Contributor

Supersedes#6120.

@archmojarchmoj added featuresomething new cscustomer success labelsJul 15, 2025
@archmojarchmoj changed the titleAddminorloglabels to cartesian axesfeat: Addminorloglabels to cartesian axesJul 15, 2025
@alexcjohnson
Copy link
Collaborator

Personally I don't think these new options are what I would want as an alternative to the small digit - the small digit is a shorthand, but as an alternative I wouldn't want another arbitrary format, I'd want the same format used for the powers of ten but extended to multiples.

The behavior I'd want:

  • if the power of ten is shown as 0.1, 1, 10 etc (as it is by default): minor labels 0.2, 0.5, 2, 5, 20, 50 etc.
  • If the power of ten is 100, 1k, 10k: minor labels 200, 500, 2k, 5k, 20k...
  • If the power of ten is 10^2, 10^3, 10^4: minor labels 2x10^2, 5x10^2, 2x10^3, 5x10^3
  • If the power of ten is 1e2, 1e3, 1e4: minor labels 2e2, 5e2, 2e3, 5e3...

Basically for all cases except 10^N where you have to put Dx10^N, I'd want the minor labels to simply replace the 1 in the next lower power of ten with the appropriate digit.

While we're at it, another thing people might want is to not show the minor labels at all, just the minor gridlines - so you could setnticks very large and get a lot of gridlines like you see on log-scale graph paper but a manageable number of labels. So for the new attribute perhapsminorloglabels = 'small digit' | 'complete' | 'none'?

archmoj reacted with thumbs up emoji

@archmojarchmoj self-assigned thisJul 16, 2025
@archmoj
Copy link
ContributorAuthor

Thank you@alexcjohnson for the suggestion.
Please review the revised PR.

Copy link
Collaborator

@alexcjohnsonalexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

💃 Beautiful!

@archmojarchmoj merged commitbf6909b intomasterJul 17, 2025
6 checks passed
@archmojarchmoj deleted the loglabels branchJuly 17, 2025 16:51
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alexcjohnsonalexcjohnsonalexcjohnson approved these changes

Assignees

@archmojarchmoj

Labels

cscustomer successfeaturesomething new

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@archmoj@alexcjohnson

[8]ページ先頭

©2009-2025 Movatter.jp