[Tex/LaTex] Create a Shmoo plot with pgfplots/tikz


I'm interested in creating a Shmoo-plot using LaTeX. I have looked through the PGFplot-examples but couldn't find any that looked suitable as a starting template. Google produces nothing as well, and I don't wish to abuse Excel for obvious non-pretty reasons (although it is very easy for this kind of plot).

If a Shmoo-plot is unfamiliar to you, it is a two dimensional (presented as such at least) discrete plot looking something like this:

enter image description here

What I want to produce like the image above, although without the pass/fail text. Do you have any suggestions on how I should approach the problem? Sorry if this is a very simple question, I am a beginner in PGFplots and might have missed an easy solution.

edit: this is a more accurate image of what I'm trying to reproduce. This is almost exactly the style I'm looking for.

enter image description here

the input data formatting can be changed to fit any solution, so it is not considered a problem. For example, it can be (x, y, p/f) such as a simple four point set:

(1, 10, 1)
(1, 11, 0)
(2, 10, 1)
(2, 11, 0)

Best Answer

Finally got a result I was satisfied with, and I'm answering this to help any other poor EE-engineer if they get stuck with the same thing. This is a simple solution compared to the ones discussed in the comments.

enter image description here

\usepackage{pgfplots, amsmath}
\pgfplotsset{major grid style={color=black}, minor grid style={color=black}}
\pgfplotsset{every  tick/.style={black,}}

 axis on top,
 tick align=outside,
 minor xtick={7.5,12.5,...,55},
 minor ytick={0.1,0.2,...,2.4},
 axis background/.style={fill=green!30},
 xlabel=Frequency (MHz),
 ylabel=V$_{\text{DD}}$ (V)]
[const plot mark mid,fill=red!30] 

Related Question