r - How to create a color image from matrix? -


I've got 500x500 double matrix and I'm unable to convert it to image with the image () function - it works, but the result is not visible even with white lines ... I have a lot All values ​​are around 0 and maximum 3.7.

If someone can give some useful advice then it will be great

Here is the image as a result of my read.csv (your_data) (your_data, col = gray (1: 32/32) < / code>

Enter image details here What were you expecting?

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -