matplotlib - How to visualize three separate arrays representing hue, saturation, and value in python? -


is possible take 3 separate arrays representing hue, saturation, , value , plot them in python? have 2 sets of data, 1 want represent hue , saturation, , want represent value.

i think may similar output imshow (data1) colormap set hue , saturation vary data2. it?

imshow expects rgb(a) values: http://matplotlib.org/api/axes_api.html?highlight=imshow#matplotlib.axes.axes.imshow

but color module has function translate hsv rgb: http://matplotlib.org/api/colors_api.html?highlight=hsv#matplotlib.colors.hsv_to_rgb

so you'll want make mxnx3 array of hsv data translated rgb, , imshow that.

but hue doesn't have information needed make rgb value -- 3 hsv values affect 3 rgb values.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -