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!
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top