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!
 
Well, the date has now passed, and Windows 10 is no longer supported. Hopefully, the readers of this forum have done one of the many ways this issue can be handled. If not, do a YouTube search and a smorgasbord of solutions will be returned. What I want to mention is that I chose to use a debloated Windows from a debloater. There are many available options, e.g., Chris Titus Utilities (I used a product called Velotic, which also features AI to prevent your computer from overheating etc...
I've been having problems for the past few weeks with the display on my Dell computer. I bought the computer new back in 2019 or so, which makes it about 6 years old. My monitor is a 27" HP monitor that I bought for another computer (an HP Pavilion), recently demised, back in about 2012 or 2013. As far as I can tell, the computer, which is running a 10-core Xeon Scalable processor, is functioning as it should. The first symptom was that the screen would go dark, which I would attempt to...
Back
Top