Hey. I was writing a code to show efficiency of thermoelectric generators in one plot. tc is constant in each statement, first z changes and for each z, I want to plot a line based on the th variation. each line, for instance, z=0.5 and th from 300 to 1250 has a specific color for readability.
ln.Color=(1./t).*[1 1 1];
the output is like this
but I desire for an output like this
anyone has any suggestion? I know I'm amateur....