cruft notes
parent
ffb256112b
commit
7499e5c576
38
rfplot.c
38
rfplot.c
|
@ -248,6 +248,44 @@ int main(int argc,char *argv[])
|
|||
else if (cmap==2)
|
||||
giza_set_colour_table_float(viridis_l,viridis_r,viridis_g,viridis_b,256,1.0,0.5);
|
||||
// XXX
|
||||
// (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, const double *affine) ;
|
||||
// giza_render
|
||||
/*
|
||||
sizex : The dimensions of data in the x-direction
|
||||
s.z
|
||||
|
||||
sizey : The dimensions of data in the y-direction
|
||||
s.nsub
|
||||
|
||||
data : The data to be rendered
|
||||
s.nchan
|
||||
|
||||
i1 : The inclusive range of data to render in the x dimension.
|
||||
1
|
||||
|
||||
i2 : The inclusive range of data to render in the x dimension.
|
||||
s.nsub
|
||||
|
||||
j1 : The inclusive range of data to render in the y direction
|
||||
1
|
||||
|
||||
j2 : The inclusive range of data to render in the y direction
|
||||
s.nchan
|
||||
|
||||
valMin : The value in data that gets assign the colour corresponding to zero on the colour ramp (The ramp is set by giza_set_colour_table)
|
||||
zmin
|
||||
|
||||
valMax : The value in data that gets assigned the colour corresponding to one on the colour ramp
|
||||
zmax
|
||||
|
||||
extend : Option for how to deal with image at edges
|
||||
tr
|
||||
|
||||
affine : The affine transformation matrix that will be applied to the data.
|
||||
|
||||
*/
|
||||
// XXX
|
||||
//giza_render_float(s.z,s.nsub,s.nchan,1,s.nsub,1,s.nchan,zmin,zmax,tr);
|
||||
//cpgimag(s.z,s.nsub,s.nchan,1,s.nsub,1,s.nchan,zmin,zmax,tr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue