在LateX图中更改xLabel的比例

时间:2019-01-16 16:13:52

标签: plot latex scale

我正在LateX中进行一些绘图,而XLabel比例尺存在问题。我的Xlabel是Step变量。

这是我的数据:

\begin{filecontents}{thu2.dat}

Step PercentageIdentified   PercentageError  PercentageFire PercentageExtinguished  
200  33.38095238095239   8.416547788873038   30.155210643015522      0.4434589800443459
400  73.76190476190476   5.7456423499031635      72.9490022172949    1.1086474501108647
600  84.95238095238096   5.437219730941703   84.70066518847007   1.7738359201773837
800  89.04761904761904   5.240641711229946   88.470066518847     1.9955654101995564
1000     90.33333333333333   5.21876647337902    90.46563192904657   2.2172949002217295
1200     90.66666666666666   5.199579831932773   91.13082039911308   2.2172949002217295
1400     91.38095238095238   5.263157894736842   92.01773835920177   2.2172949002217295
1600     95.14285714285714   5.205205205205205   94.67849223946784   2.2172949002217295
1800     95.52380952380952   5.234297108673978   94.90022172949001   2.6607538802660753
2000     99.28571428571429   5.179856115107913   98.89135254988913   3.1042128603104215

在这种情况下,我的XLabel如下:

[200,400,600,800,1000,1200,1400,1600,1800,2000]

但是我想要的比例如下:

[200,800,1600,2000]

我该怎么做?

0 个答案:

没有答案