I would like to make a plot with x-axis labels that contain greek letters (for example the labels would be δ-methyl, β-ethyl, and so on). I have tried to do this via the following method: create the plot with two numerical waves (the x=axis is sort of dummy wave with values of 1, 2, 3, 4,.....), create a text wave in a table that contains the desired x-axis labels, and in the plot select the "user ticks from waves" to link the labels to the data points. I am stuck at this point, however because I do not know how to change the font of part of text in a text wave (or if it is even possible to change the font of a text wave without changing the the default font setting). Is there a solution to this problem or a different way to obtain the desired plot?
Edit: This answer missed the point of the question. See the next post from Fabrizio.
The font is not a property of the wave. It is a property of the markers on a trace in a graph of a property of a column in a table.
Here is an example:
Make/N=5 test = pDisplay test
Make/T textWave = {"A", "B", "C", "D", "E"}ModifyGraph mode=4,textMarker(test)={textWave,"Symbol",0,0,5,0.00,0.00}ModifyGraph msize=5// The rest is not really needed in order to create the graphEdit test, textWave
ModifyTable font(textWave)="Symbol"
If you are talking about axis tick labels, you can use 'user ticks from waves' (as mentioned in the OPs post).
As far as I can tell, the elements of the text wave with the tick labels behave like annotations.
[quote=fabrizio]If you are talking about axis tick labels, you can use 'user ticks from waves' (as mentioned in the OPs post).
As far as I can tell, the elements of the text wave with the tick labels behave like annotations.
The font is not a property of the wave. It is a property of the markers on a trace in a graph of a property of a column in a table.
Here is an example:
For the relevant help execute:
May 17, 2013 at 08:09 am - Permalink
As far as I can tell, the elements of the text wave with the tick labels behave like annotations.
e.g.
- Fabrizio
May 17, 2013 at 09:39 am - Permalink
As far as I can tell, the elements of the text wave with the tick labels behave like annotations.
e.g.
- Fabrizio[/quote]
Thanks for the help, this worked well.
May 17, 2013 at 10:57 am - Permalink