0

How can I draw something like the figure below using latex:

enter image description here

  • Welcome to TeX.SX! Questions about how to draw specific graphics that just post an image of the desired result are really not reasonable questions to ask on the site. Please post a minimal compilable document showing that you've tried to produce the image and then people will be happy to help you with any specific problems you may have. See minimal working example (MWE) for what needs to go into such a document. – Stefan Pinnow Oct 9 at 19:10
3

While waiting for several TikZ's answers, you can refer the following Asymptote code.

unitsize(1cm);

fill((-6.5,-6)--(-6.5,6)--(6.5,6)--cycle,gray);
fill((-6.5,-6)--(6.5,-6)--(6.5,6)--cycle,green);
draw((-6.5,-6)--(6.5,6),magenta+3bp+linecap(0));
label("\textbf{Region 1}",(-3,3));
label("\textbf{XYZ}",(-9,6));
draw((-9,6){dir(45)}..{dir(-90)}(-3,3),linewidth(1bp),Arrow(TeXHead),TrueMargin(15,15));
label("\textbf{Region 2}",(3,-3));
label("\textbf{ABC}",(9,-2));
draw((9,-2){dir(-135)}..{dir(135)}(3,-3),linewidth(1bp),Arrow(TeXHead),TrueMargin(15,15));

draw(Label("\textbf{Title}",Relative(0.63),2*RightSide),box((-6.5,-6),(6.5,6)),linewidth(1bp));
draw(Label("$x$",Relative(0.98),LeftSide),(-6.5,0)--(6.5,0));
draw(Label("$y$",Relative(0.98),LeftSide),(0,-6)--(0,6));

for (int i=1; i <=6; ++i){
  label(("$"+(string) i+"$"), (i,0), dir(-90));
  label(("$-"+(string) i+"$"), (-i,0), dir(-90));
}
for (int i=1; i <=5; ++i){
  label(("$"+(string) i+"$"), (0,i), W);
  label(("$-"+(string) i+"$"), (0,-i),W);
}
label(("$0$"), (0,0), dir(-135));

shipout(bbox(2mm,invisible));

enter image description here

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.