How to format x axis to a smaller scale in Gnuplot?

AI Thread Summary
To scale the x-axis values in Gnuplot from a range of 10,000 to 100,000 to a simpler format of 10 to 100, users can apply a transformation in the Gnuplot script. Instead of manually dividing the values, the scaling can be achieved by modifying the fit function to include a multiplication factor of 1,000. This adjustment allows for the desired representation without altering the original data points. The solution emphasizes the importance of correctly applying transformations within Gnuplot commands to achieve the intended axis scaling effectively.
bolzano95
Messages
89
Reaction score
7
TL;DR Summary
Scaling x-axis
So here is what I'm trying to do. The values on x-axis are from 10000, 20000, 30000, ... 100000. I'm trying to write it like this: 10, 20, 30, 40, ... 100 (only x axis)

screenshot.png


But how do I do this? I've tried those two examples How to scale the axis in Gnuplot, How to scale the axes in Gnuplot but it doesn't work. I could simply divide everything by 1000, but I'm trying to do this with gnuplot command.

Is there some way to do this in Gnuplot?
 
Computer science news on Phys.org
I checked the link you suggested, but unfortunately the fit function dissapears. So I checked and checked what's wrong and someone suggested I should multiply the fit function by factor 1000. And it worked!
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
Back
Top