Panel data graphs in STATA using by command

Hi i am trying to make graphs using stata of panel data, with alot of stocks. The by variable i have to use is stock name, so that i get a two way line plot of a stock price and date for every stock in the panel data.

The problem is when i use stock as the by variable, stata produces 400 graphs on a single page, so the size of every single stock is extremely small.

What i want is only 6 graphs on one page.

and i can have multiple pages.

Can any one help me with it??

Would really appreciate.