I am trying to use psxy and pstext (v6.0.0 - classic mode) and an ASCII table to plot two lines between three points. I am after three effects:
- The lines stop short of the points.
- Each point is labelled.
- A unique symbol is plotted over each point (eg unfilled triangle, filled triangle and circle).
Using:
psxy Table.txt -Wsize,white+o5p -R -J -K >> out.ps
pstext Table.txt -DJ0.05 -F+f+j -R -J -O >> out.ps
with Table.txt structured as follows:
'>
x1 y1 Font_size,name,color1 Just1 Label1
x2 y2 Font_size,name,black Just2 Label2
'>
x2 y2 Font_size,name,color2 Just2 Label2
x3 y3 Font_size,name,color3 Just3 Label3
gives me exactly what I am after for effects 1 (short lines) and 2 (labelling), but I am struggling to include the required symbol data into the table so I can plot each unique symbol and retain the correct labelling. The problem (as I see it) is that psxy expects the last column in the table to be the symbol data, but pstext takes everything after the Justification column to be the label data. Is it possible to structure the table to include both symbol and label data (if so how?) or will I need to create two tables, one for symbol data and one for labelling? I am hoping to be able to keep all the data in one table.