Closed BB-files closed 5 years ago
I think you can set the color like you did with PD$col, but then use that "col" column in the setColor
call:
AA.pl <- with(PD, piperPlot(Ca.meq, Mg.meq, Na.meq,
Cl.meq, HCO3.meq, SO4.meq,
Plot=list(name=SS, color= setColor(col)), # HERE
zCat.title = "Sodium",
xAn.title = "Chloride",
yAn.title = "Bicarbonate"))
Sorry for the late reply and thanks for the help! (...had a slight incline to bang my head against the wall when I saw my mistake ;-))
Hi, I have been trying to produce piper plots for my data, using the standard code (and an added loop. It is working fine, but the color automatically chosen through setColor cannot be differentiated on one of my plots. Is there any way for me to choose distinct colors for each variable name (Sw, Gw-S,...) I have?
Both rounds®ionsType2.pdf