I would like to plot a figure like the attached using latex environment. I know it can be achieved using other software, such as CAD, but the figure created by LaTex looks more beautiful. Anyone can help me out?
PS: Don't have to be identical with the attached Fig.
Best Answer
Well here's most of what your diagram demonstrates. I've added a few comments throughout that hopefully help you understand better what I've done.
I've heavily used the
calc
library. I've also used thepatterns
library to get the dots inside the side rectangle.The techniques you need to know to finish the diagram has already been demonstrated in the above code.
There might be easier (better) approaches to some of the things I've done. I leave that for someone else better acquainted with tricks of
TikZ
to demonstrate.