Hi, I have two basic questions but I could not find an answer on my own.

I need to create 40 different graphs, each one related to a specific panel unit in my dataset; this does not include every panel unit, but only some specific one that I am subjectively deciding to display. Is there a command that I can use to avoid repeating the same operation for all the units for which I want a graph?
That is to say, something that avoid me writing:

Code:
 graph twoway bar yvar yvar1 xvar if id==3
graph twoway bar yvar yvar1 xvar if id==7
and so on for each of my 40 units (where id is the identifier of my panel units).

Also, when I create a twoway bar graph with two y variables, how can I display the two bars one on top of the other for every year (not overlapping)?

Aurora