renamed JKQTPColorPaletteStyleAndToolsMixin::setPalette() -> JKQTPColorPaletteStyleAndToolsMixin::setColorPalette()

This commit is contained in:
jkriege2
2020-09-11 12:14:51 +02:00
parent e9ca874f3b
commit ff373236d4
14 changed files with 25 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ int main(int argc, char* argv[])
graph->setWidth(w);
graph->setHeight(h);
// color-map is "MATLAB"
graph->setPalette(JKQTPMathImageMATLAB);
graph->setColorPalette(JKQTPMathImageMATLAB);
// get coordinate axis of color-bar and set its label
graph->getColorBarRightAxis()->setAxisLabel("light intensity [A.U.]");
// determine min/max of data automatically and use it to set the range of the color-scale