- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# How to create a plot in base R with tick marks of larger size?

To create a plot in base R with tick marks of larger size, we can make use of axis function tck argument. The tck argument value will decide the size of the tick mark but since the ticks lie below the plot area hence the value will have a negative associated with it. Therefore, it will be like -0.05. Check out the below examples to understand how it works.

## Example

plot(1:10,axes=FALSE,frame=TRUE) axis(1,1:10,tck=-0.02) axis(2,1:10,tck=-0.02)

## Output

## Example

plot(1:10,axes=FALSE,frame=TRUE) axis(1,1:10,tck=-0.05) axis(2,1:10,tck=-0.05)

## Output

- Related Questions & Answers
- How to create a plot with tick marks between X-axis labels in base R?
- How to create a plot in base R with tick marks but excluding axes lines?
- How to include a zero with tick in base R plot?
- How to create a boxplot with outliers of larger size in R?
- How to create a line chart in R using plot function with larger width?
- How to create a plot with dashed regression line in base R?
- How to create a plot in R with a different plot window size using plot function?
- How to create a plot in base R without margins?
- How to create a perpendicular arrow in base R plot?
- How to create a cumulative sum plot in base R?
- How to create quantile regression plot with larger width of lines using ggplot2 in R?
- How to change the font size of legend in base R plot?
- How to create a plot with reversed Y-axis labels in base R?
- How to create empty bar plot in base R?
- How to create a colored box for base R plot?

Advertisements