Skip to content
Prev 389286 / 398506 Next

Improve my plot

Don't do this! Use a dotchart instead. See the Wikipedia article on
dotplots or search.

height=c(574,557,544,535,534,532,531,527,526,525,524,520,518,512,507,504,504,489,488,488,487,484,484,474,472,455,444,420)
## kudos for plotting the sorted results rather than alphabetically.

 nm <- c("Fribourg(f)","Valais(d)","Appenzell Rhodes
Int?rieures","Fribourg(d)","Jura","Schwyz","Schaffhouse","Berne(f)","Thurgovie","Valais(f)","Argovie","Appenzell
Rhodes Ext?rieures","Gen?ve","Zoug","Tessin","Neuch?tel","Vaud","Uri","Nidwald","Berne(d)","Zurich","Obwald","Saint-Gall","Soleure","Lucerne","Glaris","B?le-Campagne","B?le-Ville")


 dotchart(height, nm, col = "blue", main = "Dotcharts Rock")

?dotchart gives you the details and options.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Mon, Sep 20, 2021 at 12:24 PM varin sacha via R-help
<r-help at r-project.org> wrote: