plot, drawing character string as ticks, not indizes
1
0
Entering edit mode
@dipl-ing-johannes-rainer-846
Last seen 10.3 years ago
hi, is it possible in R to use character strings to be written as x axis ticks in a plot? for example i have a vector of values and i want to plot them, is it possible that for the x axis ticks not the index of the value in the vector is used, but for example an "a" ("b" and so on) is written? thanks, jo
• 793 views
ADD COMMENT
0
Entering edit mode
Zhijin Wu ▴ 410
@zhijin-wu-438
Last seen 10.3 years ago
plot with "axes=FALSE" and then use function axis() see help for axis for details On Mon, 28 Feb 2005, Dipl.-Ing. Johannes Rainer wrote: > hi, > is it possible in R to use character strings to be written as x axis > ticks in a plot? for example i have a vector of values and i want to > plot them, is it possible that for the x axis ticks not the index of > the value in the vector is used, but for example an "a" ("b" and so on) > is written? > > thanks, jo > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT

Login before adding your answer.

Traffic: 777 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6