Hi Alfonso,
thank-you for the patch, it works for changing the number attached to the color bar. but it does not seem to alter the connection colors in the figure
to correspond to the limits set in the colorbar. This is perhaps even more dangerous than the situation before - because the limit stays fixed when choosing a new connection or cluster to examine - putting them on a scale that doesn't correspond to that which is shown (a bit like the default display of all connections where the maximum of all connections is indicated in the colorbar, but each cluster is scaled according to its own maximum).
It seems that the value set for the colorbar needs to be passed into the display routine to ensure the connection colors are then scaled according to the indicated color scale. I couldn't figure out where or how in the code though (I did note a curiosity n a facecolor assignment (line 2900 in my copy: facecolor = 0*(.1+.8*data.plotconnoptions.BCOLOR) + 1*round(1-data.plotconnoptions.BCOLOR);
don't the 0* and 1* reduce this assignment to: facecolor = round(1-data.plotconnoptions.BCOLOR); ?
I believe the new question: " ROI-to-ROI analysis: set scaling for the colours " on jul 16 by Nathalie Rieser touches on the same issue about scaling.
Paul
thank-you for the patch, it works for changing the number attached to the color bar. but it does not seem to alter the connection colors in the figure
to correspond to the limits set in the colorbar. This is perhaps even more dangerous than the situation before - because the limit stays fixed when choosing a new connection or cluster to examine - putting them on a scale that doesn't correspond to that which is shown (a bit like the default display of all connections where the maximum of all connections is indicated in the colorbar, but each cluster is scaled according to its own maximum).
It seems that the value set for the colorbar needs to be passed into the display routine to ensure the connection colors are then scaled according to the indicated color scale. I couldn't figure out where or how in the code though (I did note a curiosity n a facecolor assignment (line 2900 in my copy: facecolor = 0*(.1+.8*data.plotconnoptions.BCOLOR) + 1*round(1-data.plotconnoptions.BCOLOR);
don't the 0* and 1* reduce this assignment to: facecolor = round(1-data.plotconnoptions.BCOLOR); ?
I believe the new question: " ROI-to-ROI analysis: set scaling for the colours " on jul 16 by Nathalie Rieser touches on the same issue about scaling.
Paul