Converting position to digital drawing

convert X y z coordinates that I got via a accelerometer and gyroscope into some type of digital sketch,

What do you mean by "coordinates"?

The accelerometer reports acceleration, while the gyro reports rotation rates; six values in all.

Unfortunately, those measurements cannot be converted into (x,y,z) Cartesian positional coordinates.