8/2/2023 0 Comments Colorset idl![]() ![]() If you are running IDL 5.2 or higher, the program will determine which return. X = cgScaleVector(Randomn(-3L, 100000)*3., -10, 10) Every color in IDL is represented, ultimately, as a three-element byte vector of red, green, and blue values, in which each value can vary between 0 and 255. To see a list of colors available, type: Print, FSCColor(/Names). The code that I report below simulates what I would like obtain but it use Hist_2D and therefore I do not think it is usable in my case.ĭata is a Matrix 9*9 data If you read the table vertically, however, you can see how to create three vectors: one containing the red values of the five colors, a second containing the green values, and the third containing the blue values of the five colors. Each pixel on the screen is made up of three colours: red, green and blue, each of which is represented by one byte and can therefore take on values between 0 (. I have a 2D matrix containing the data and I know the separation positions between one cell and the other (equispaced if viewed in logarithmic scale). Reading the colors horizontally, you see the color triple that makes up each color. ![]() I would like to be able to make a graph as produced by the code shown below (but using logarithmic axes). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |