| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d55aad8 commit 77ea54d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1004,7 +1004,7 @@ gen_tics(struct axis *this, tic_callback callback) | |||
| 1004 | 1004 | */ | |
| 1005 | 1005 | if (def->def.user) { | |
| 1006 | 1006 | struct ticmark *mark = def->def.user; | |
| 1007 | - double uncertain = (this->max - this->min) / 10; | ||
| 1007 | + double uncertain = (nonlinear(this)) ? 0 : (this->max - this->min) / 10; | ||
| 1008 | 1008 | double internal_min = this->min - SIGNIF * uncertain; | |
| 1009 | 1009 | double internal_max = this->max + SIGNIF * uncertain; | |
| 1010 | 1010 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments