
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
Create a Plot in Base R with Mixed Font of Plot Title
We sometimes want to highlight the main title of a plot and one of the ways to do it is changing the font of the title to a unique or using a mixed font for the title. If we want to used mixed font then we need to use the appropriate font style for the title inside as shown in the below examples.
Example1
> plot(rpois(10,5),main=substitute(paste(italic("Point Chart"),": Poisson Distribution")))
Output:
Example2
> plot(rpois(10,2),main=substitute(paste(bold("Point Chart"),": Poisson Distribution")))
Output:
Advertisements