Hi Markus
Thank you for your help.
Sorry for some reason I cannot reply through the forum.
Just a note, I found that in some instances with huge data Octave will stop responding when using "contourf" and the method which you proposed, it seems that the NaN uses additional resources when compared to an actual number. It also sometimes cannot compute the correct contours and messes up the data.
I found that using the "fill" function works well and is less intensive, especially with complex regions.
Kind regards
Mishal Mohanlal