You can use axis
:
> axis(side=1, at=c(0:23))
That is, something like this:
plot(0:23, d, type='b', axes=FALSE) axis(side=1, at=c(0:23)) axis(side=2, at=seq(0, 600, by=100)) box()
Related Posts:
- What is the difference between importing matplotlib and matplotlib.pyplot?
- How do you change the size of figures drawn with Matplotlib?
- matplotlib savefig() plots different from show()
- Save plot to image file instead of displaying it using Matplotlib
- How to plot ROC curve in Python
- ImportError: ‘No module named plotly.plotly’ in LinuxMint17.3
- Error in plot.window(…) : need finite ‘xlim’ values
- How to resolve TypeError: ‘No Numeric Data to Plot’, when numeric data exists in Python
- How do you change the size of figures drawn with Matplotlib?
- Matplotlib automatic legend outside plot
- R Language: How to Set ylim?
- Matplotlib automatic legend outside plot
- Changing the “tick frequency” on x or y axis in matplotlib?
- How to create a grouped boxplot in R?
- How to add title to subplots in Matplotlib
- Create own colormap using matplotlib and plot color scale
- How to plot time series in python
- How to make a 3D scatter plot in matplotlib
- Use of scale_x_discrete in R ggplot2
- Modify the legend of pandas bar plot
- Changing the “tick frequency” on x or y axis in matplotlib
- When to use cla(), clf() or close() for clearing a plot in matplotlib?
- Remove xticks in a matplotlib plot?
- How to increase font size in a plot in R?
- How to avoid “Error in stripchart.default(x1, …) : invalid plotting method” error?
- Scatter plot colorbar – Matplotlib
- Install Plotly in Anaconda
- Plotting multiple lines, in different colors, with pandas dataframe
- Plotting of 1-dimensional Gaussian distribution function
- What is the best open-source java charting library? (other than jfreechart)
- Why do many examples use `fig, ax = plt.subplots()` in Matplotlib/pyplot/python
- plotting package for c++
- Plotting legend outside plot in R
- What is the default MATLAB Color Order?
- How to specify line thickness in points a plot?
- How to plot a subset of a data frame in R?
- Label points in geom_point
- How do I tell Matplotlib to create a second (new) plot, then later plot on the old one?
- Code to clear all plots in RStudio
- Control the size of points in an R scatterplot?
- XY Plotting with Java
- KeyError: ‘plotly_domain’