Opened 8 years ago

Last modified 6 years ago

#860 new defect

latex labels in graph menus

Reported by: pkienzle Owned by:
Priority: minor Milestone: SasView 5.0.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Data labelled with latex markup on the graph (e.g., $\Gamma1(x)$, $I_{obs}(q)-Bg$ and $I_{extrap}(q)$ in the correlation function perspective) appear nicely formatted in the legend, but show up as latex markup in the graph context menu.

Maybe want to avoid the use of latex on plot labels, or perhaps maintain both the legend label and the menu label for each plot line.

Could also write a simple de-TeX routine to strip egregious characters such as backslash and dollar signs, and convert braces to parentheses. Suggest targeting the ASCIImath format so that the tool has more general utility. Or go the other way, writing an ASCIImath to TeX translator and use that to produce the labels used by matplotlib.

Change History (3)

comment:1 Changed 7 years ago by butler

  • Milestone changed from SasView Next Release +1 to SasView 5.0.0

comment:2 Changed 6 years ago by LauraamForster

This ticket is duplicated. Ticket 601 closed: http://trac.sasview.org/ticket/601.

comment:3 Changed 6 years ago by LauraamForster

Think this may have been resolved by the move to 5.0. Needs to be reviewed, but if its a problem it will come up as an issue again once 5.0 is released/being used by people.

Note: See TracTickets for help on using tickets.