GenericMappingTools / GenericMappingTools/gmt

Let logarithimc plots accept negative values

Open
#8,250 3 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

**Description of the desired feature**

It is common now to have parameters varying from negative to positive with a large spread. To plot that, logarithmic or exponential plots may be good choices. However, GMT currently accepts positive ranges only since it only takes the u'=alog10(u)+b.

Could if judge the sign of u before taking the logarithmic transformation, and then append the sign back? Just like the symlog module in other plotting software.
If so, the plotting module could easily handle the rest since it originally accepts both negative and positive values.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.