Change Title, Axis labels, legends, Scaling (ggplot2)
HTML-код
- Опубликовано: 11 сен 2024
- In this video we will explore how to change title, axis labels, legends, scaling of axis in ggplot2. Data used in the video can be downloaded from drive.google.c...
The most useful video I have seen on this topic. No jokes.
Very nice video my friend. You are the Lionel Messi of R coding.
That was absolutely helpful 👌
@BioQuests :-) Thanks for knowledgeable videos... It's make my lots of basic fundamental things very clear and crystal. Just request you to have some videos on data labels in charts as some of data needs to represent with numbers.
Yes am planning to add few videos. Thanks for the suggestions.
how to italisize part of axis labels only?
I was waiting for the main title, I want to change the position, font type, and font size how will I go about it
For text size, u can use element_text function and set size parameter. for font type, use family parameter.
Thank u for this
I have this bar plot that makes frequency of categories
Given the database is 250k, i have very long frequncy labels that when plotting get mixed with other frequencies. How to change them? Say divid frequencies by 1000
How many categories u are getting. If i understood correctly u r saying that you have so many categories, each bar overlap with nearby bar? Can you elaborate more since its not clear.
If you are saying that y axis value is high, you can represent frequency as percentage as well.
@@bioinfquests i have about 6 categories, when i do bar plot, the results are the count of each category. the length of the database is 250,000 rows. when I do count for these categories the frequency i.e. number get mixed up
Sorry not able to understand what number gets mixed up means..since there are 6 categories and total 250k values, u will get 6 frequency values which will add to total 250k. So it should plot fine, x being the category and y being the value.
@@bioinfquests hi thank you for this. I have about 6 categories i.e. bars and the dataset is very long 250,000 records. so when I have some of them use numbers in the 100,000 the get mixed up. wonder if i make adjustments to make numbers display well without getting inter linked. I actually thought of making the division in the dataset now by 1000 for example
@@ahmed007Jaber you can display the frequency as percentage as well so that y axis will be in the scale of 0-100.