This question already has an answer here:

enter image description here

I need help in drawing the above figure in TikZ.

marked as duplicate by Henri Menke, TeXnician, Mensch, user31729, Werner Nov 6 '17 at 21:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    Welcome to TeX.SX! Please have a look into "How do I ask a good question?" and "What types of questions should I avoid asking?". And please always show what you've already reached and use this to describe your problem. Generally we do not like "please, do it for me" questions. – Schweinebacke Nov 6 '17 at 8:03
  • 2
    Welcome to TeX.SX! Please show us what you have tried! The short answer is that this can be done but I have to warn you that questions of the form "Please do this for me", which show no effort on the part of OP, often don't get answered. You will get more help if you post some code showing what you have tried and give a minimal working example. A quick search on TeX.SX for tables, color, ... should give you something to start from. A tikz matrix of nodes is another possibility. – Andrew Nov 6 '17 at 8:14
  • 1
    Post your code which produced the closest to that figure. – pushpen.paul Nov 6 '17 at 8:23
  • 1
    Have a look at page 1039: PGF Man­ual and that should help. – Bobyandbob Nov 6 '17 at 9:56

Browse other questions tagged or ask your own question.