I would like to remove minor ticks from my plots.
For example, consider the following code:
Plot[Sin[x], {x, 0, 10}]
which generates:
Is there any away to get rid of minor ticks and get something like:
I'm looking for a simpler solution than directly assigning numbers like this:
Plot[Sin[x], {x, 0, 10}, Ticks -> {{0, 2, 4, 6, 8, 10}, {-1, 1}}]
I found this solution. But this is also very complicated and seems outdated (it refers to very older version, 9, of mathematica).
Is there easier and updated solution?