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

  • #1
bolzano95
89
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?
 

Answers and Replies

  • #3
bolzano95
89
7
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!
 

Suggested for: How to format x axis to a smaller scale in Gnuplot?

  • Last Post
Replies
15
Views
670
Replies
3
Views
572
Replies
5
Views
446
  • Last Post
Replies
6
Views
594
Replies
36
Views
1K
  • Last Post
Replies
10
Views
1K
Replies
4
Views
501
  • Last Post
Replies
3
Views
655
Replies
3
Views
2K
Replies
12
Views
501
Top