Open lindsayplatt opened 8 years ago
Same code different pkg version? Or did I miss the difference in the code?
First one has both numeric pch, the second has one with "o" which is a valid pch. Just makes legend freak out
Hmm this is actually also a problem with base: http://stackoverflow.com/questions/13453104/r-legend-pch-mix-of-character-and-numeric
@mhines-usgs pointed out that they are using ascii codes so each of the character options does have a numeric equivalent. The question is, should we expect users to figure this out, or should gsplot handle this in the background and convert characters to their ascii code?
wontfix
for now?
@jiwalker-usgs thinks we should handle this and do an ASCII lookup or something where we are adding pch to legend (which would be in get_legend_args
)
@jread-usgs going to say "for later" or "enhancement" instead
Either way sounds fine to me :+1:
★░░░░░░░░░░░████░░░░░░░░░░░░░░░░░░░░★ ★░░░░░░░░░███░██░░░░░░░░░░░░░░░░░░░░★ ★░░░░░░░░░██░░░█░░░░░░░░░░░░░░░░░░░░★ ★░░░░░░░░░██░░░██░░░░░░░░░░░░░░░░░░░★ ★░░░░░░░░░░██░░░███░░░░░░░░░░░░░░░░░★ ★░░░░░░░░░░░██░░░░██░░░░░░░░░░░░░░░░★ ★░░░░░░░░░░░██░░░░░███░░░░░░░░░░░░░░★ ★░░░░░░░░░░░░██░░░░░░██░░░░░░░░░░░░░★ ★░░░░░░░███████░░░░░░░██░░░░░░░░░░░░★ ★░░░░█████░░░░░░░░░░░░░░███░██░░░░░░★ ★░░░██░░░░░████░░░░░░░░░░██████░░░░░★ ★░░░██░░████░░███░░░░░░░░░░░░░██░░░░★ ★░░░██░░░░░░░░███░░░░░░░░░░░░░██░░░░★ ★░░░░██████████░███░░░░░░░░░░░██░░░░★ ★░░░░██░░░░░░░░████░░░░░░░░░░░██░░░░★ ★░░░░███████████░░██░░░░░░░░░░██░░░░★ ★░░░░░░██░░░░░░░████░░░░░██████░░░░░★ ★░░░░░░██████████░██░░░░███░██░░░░░░★ ★░░░░░░░░░██░░░░░████░███░░░░░░░░░░░★ ★░░░░░░░░░█████████████░░░░░░░░░░░░░★ ★░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░★
When you mix point types and try to add a legend, the legend looks funny.