Hi everyone! I would need some help for ColorMap plotting. I have two vectors of same length: var_inp_1, var_inp_2, var_out. Each point ( var_inp_1 (i), var_inp_2 (i) ) is the location where I would like to plot var_out (i). I know the dimension of the rectangle for the ColorMap, but I dont't know the number of point along the axis 1 and 2 (N1 and N2), I only know the total number of points N1*N2. I could find actually N1 and N2, but I would do some general plot, because there is no certain that the spacing of the the two input variables is uniform.

For example this could be the structure of the input vectors:

var_inp_1 var_inp_2

0 ; 0

0 ; 0.01

0 ; 0.02

0 ; 0.04

0 ; 0.08

0 ; 0.012

0 ; 0.014

0 ; 0.015

0.1 ; 0

0.1 ; 0.01

0.1 ; 0.02

0.1 ; 0.04

0.1 ; 0.08

0.1 ; 0.012

0.1 ; 0.014

0.1 ; 0.015

0.5 ; 0

0.5 ; 0.01

0.5 ; 0.02

0.5 ; 0.04

0.5 ;0.08

0.5 ; 0.012

0.5 ; 0.014

0.5 ;0.015

and I have the vector vec_out gathering the values to plot at the location defined by the input vectors.

Thanks in advance for your help!