Question: figures from number

Could help

I want to draw the Figures 9 and 4 of the following number 345792. There is a command to do this?

The idea is to develop procedures for conducting a stem-and-leaf diagram from a set of data.
Any idea?
Hermes
 
Please Wait...