I want to modify the shape plot in order to visualize a variable (other than voltage, e.g., ina) using the color map. I tried implementing that by having a shape plot whose object ID was PlotShape, then I used the following code to modify its properties:
Code: Select all
PlotShape.varaible("ina") // high value is negative as ina // is an inward current PlotShape.scale(0, -0.01) // I know that the max magnitude // of ina is 0.01
When I used that code, I didnâ€™t see changes in the color map during changes of ina. Is there anything that is missing?
Also, the function '.scale' allows for setting the high and low values of the color map, but can we set the range of each color band in the map independently (e.g., yellow band: 0 to -0.001; red -0.001 to -0.003 and so on)?
Thank you very much.