nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

BG Rendering #1

Closed nicholasehamilton closed 10 years ago

nicholasehamilton commented 10 years ago

At the moment, in coord-tern.R, the rendering of the major and minor ticks do not consider conversion to native units, from some other unit.

Commands like this should be used:

convertUnit(unit(0.02, "npc"), "native",valueOnly=TRUE)

at the moment, no conversion is used, so in effect it is doing this

convertUnit(unit(0.02, "native"), "native",valueOnly=TRUE)

so therefore, if the user specifies a different tick size as a 'unit' it has no effect at the moment.

nicholasehamilton commented 10 years ago

Fixed