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

Python Equivalent for matlab cart2pol and pol2cart -

javascript - Render HTML after each iteration in loop -

sip - Call SipJs to Asterisk 12 -