0

I am making a plot for a project comparing Win Percentage and Three Point Attempts, issue is my plot has way too many tickmarks and I don't know how to reduce the tickmarks.

Code: NBA_team_data %>% ggplot(aes(x = X.13, y = X.7)) + geom_point() + theme(axis.text.x = element_text(angle = 90, vjust = 0.1, hjust = 0.5))

I tried scale_x_continous but that didnt work since it gave me an error saying "Error: Discrete value supplied to continuous scale"

1
  • 1
    use dput(df) to show dataframe Commented Apr 22, 2023 at 7:47

1 Answer 1

0

You can try using scale_x_discrete()

Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.