Scaling a CSV to screen

Hello I’m on a project at the moment and I’m importing and using data from a CSV file, the problem I have is that the coordinates within the screen are to large and end up off screen, I need some advice on rescaling the data so that it fits on the screen.

1 Like

For x,y just say * 0.2

Different possibilities

1 Like

Oh ok as simple as that, thought there might be some built in function that would to the magic, I’ll give it a try in the morning

1 Like

Hello @Rbu ,

This post may be of interest:

https://discourse.processing.org/t/use-loadtable-with-variable-like-string-string-string-stringlist/12457/8

Also consider textSize():

:)