Skip to content

Log scale breaks with small fractions. #37

Description

@GregorySchwartz

The scale seems to completely break the diagram with some fractions. Especially when trying to make a volcano plot, for instance, which has all values on the y-axis between 0 and 1 (p-values).

import Plots
import Diagrams.Prelude

import Data.Typeable

mydata1 = [(0.1,0.3), (0.6,0.5)]

myaxis :: Axis B V2 Double
myaxis = r2Axis &~ do
  scatterPlot' mydata1

  yAxis . logScale .= LogAxis

dia = renderAxis myaxis

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions