expression
is your friend:
plot(1,1, main=expression('title'^2)) #superscript
plot(1,1, main=expression('title'[2])) #subscript
More Related Contents:
- plot multiple columns in R [closed]
- How can I plot with 2 different y-axes?
- How to plot all the columns of a data frame in R
- Storing ggplot objects in a list from within loop in R
- Overlay normal curve to histogram in R
- Label points in geom_point
- Stacked Bar Plot in R
- plotting grouped bar charts in R
- Adding table within the plotting region of a ggplot in r
- Reduce PDF file size of plots by filtering hidden objects
- ggplot2 3D Bar Plot
- Error in plot.new() : figure margins too large, Scatter plot
- Plot one numeric variable against n numeric variables in n plots
- Colouring plot by factor in R
- How to conditionally highlight points in ggplot2 facet plots – mapping color to column
- How to separate two plots in R?
- Venn diagram proportional and color shading with semi-transparency
- Plot a function with ggplot, equivalent of curve()
- Multiple time series in one plot
- How to specify the actual x axis values to plot as x axis ticks in R
- ggplot2, Ordering y axis
- Issue with ggplot2, geom_bar, and position=”dodge”: stacked has correct y values, dodged does not
- Plot background colour in gradient
- plot stacked bar plot in R
- R Plot Filled Longitude-Latitude Grid Cells on Map
- How do I draw gridlines using abline() that are behind the data?
- Adding ellipses to a principal component analysis (PCA) plot
- how to plot ellipse given a general equation in R?
- Chronological timeline with points in time and format date
- How to define more line types for graphs in R (custom linetype)?