Today, I write gnuplot scripts to generate some figure for my paper. 

set xtics ("Home_Page" 1)

I found that underline is not produced as I expected.   I add a "\" before "_" like this,

set xtics ("Home\_Page" 1)

but it still doesn't work.  Not found any glue on google on this problem.  I add another "\" and have a try.

set xtics ("Home\\_Page" 1)

It works! :)

2 comments:

Thank you Yao, it worked=)

October 21, 2021 at 8:21 PM  

Hi Yao, working with Windows... what about real underlined text?... I am also producing some plots for a manuscript... however I need to underline some text in the title of one of the axes of my plots... I cannot find a direct way in GNUPLOT !!... any suggestion/solution is welcomed!!

April 1, 2024 at 9:06 AM  

Newer Post Older Post Home