Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4068280
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:21:20+00:00 2026-05-20T16:21:20+00:00

My categories need to be named with Greek letters. I am using ggplot2 ,

  • 0

My categories need to be named with Greek letters. I am using ggplot2, and it works beautifully with the data. Unfortunately I cannot figure out how to put those greek symbols on the x axis (at the tick marks) and also make them appear in the legend. Is there any way to do it?

UPDATE:
I had a look at the link, however, there is no good method described to accomplish what I want to do.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:21:21+00:00Added an answer on May 20, 2026 at 4:21 pm

    Here is a link to an excellent wiki that explains how to put greek symbols in ggplot2. In summary, here is what you do to obtain greek symbols

    1. Text Labels: Use parse = T inside geom_text or annotate.
    2. Axis Labels: Use expression(alpha) to get greek alpha.
    3. Facet Labels: Use labeller = label_parsed inside facet.
    4. Legend Labels: Use bquote(alpha == .(value)) in legend label.

    You can see detailed usage of these options in the link

    EDIT. The objective of using greek symbols along the tick marks can be achieved as follows

    require(ggplot2);
    data(tips);
    p0 = qplot(sex, data = tips, geom = 'bar');
    p1 = p0 + scale_x_discrete(labels = c('Female' = expression(alpha),
                                          'Male'   = expression(beta)));
    print(p1);
    

    For complete documentation on the various symbols that are available when doing this and how to use them, see ?plotmath.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to display a list of categories from a ListActivity. My data source
Say I have some 10 categories that I need to reference in a web
I need to grab all categories that don't have subcategories 1 ^--1.1 ^--1.2 ^--1.2.3
I need get all items these have no categories int? categoryId = null; var
i need to parse the JSON data given below. {result:[{bookId:142645,bookpb:MF, bookTs:1328999630000,clipStatus:D,bookDetail:{arrival:1,purchase:1,sold:1}, hierarchies:{categories:[4],events:[]},shopId:769752}, upto sold
Multiple categories selection system for Article Earlier M using two tables articles & categories
I have two categories that need a special template. Each has one post and
i need to show a treeview of my categories , saved in my mysql
I trying to modify JournalArticle assets (need to set categories depending of article layout
I'm building a App that need to list the categories and subcategories of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.