r - Contour plot with 90 degree angles -


I have a matrix, say cmat & lt; - Matrix (c (0,0,1,0,1), 1,0,1,1), 3,3) and with those precise I would like to plot shapes

The lines that I get when using a contourplot (cmat) , instead of running tiles properly, instead of a type of "smooth" contour Defines what I want, a graph that is made of vertical and horizontal lines only.

Do anyone know the function to do this?

Thanks in advance, Renzu


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -