This form of the code [hopefully no typos] plots in two colors....
if(variableB == 0)variableB=1; //no divide by zeros...
plotVar =variableA/variableB;
if(variableA > variableB)Plot0.Set(plotVar);
else Plot1.Set(plotVar);
Just changing the plotted variable to a logarithm causes it to not plot...
if(variableB == 0)variableB=1; //no divide by zeros...
plotVar =variableA/variableB;
plotVarLog =Math.Log(plotVar);
if(variableA > variableB)Plot0.Set(plotVarLog);
else Plot1.Set(plotVarLog);
I don't think that changing the plotted variable to a log should preclude plotting...
Comment