[Eeglablist] Legend Data Labels

Delorme, Arnaud adelorme at ucsd.edu
Fri Aug 6 13:24:17 PDT 2021


Hi Kiefer,

The compiled EEGLAB version should allow you to edit figures, and you should be able to run script that modify or print figures (or use the figure menu to do so).
The legend problem you are encountering would be the same under Matlab. This plotting function is not supposed to be used with legends.

Best wishes,

Arno

> On Aug 6, 2021, at 9:46 AM, Iversen, John via eeglablist <eeglablist at sccn.ucsd.edu> wrote:
> 
> Hi Kiefer,
> 
> I don't have direct experience with the compiled version, so someone who does may be able to better weigh in, but it appears that it is not possible to edit figures from within a standalone app (as it is easy to do for the standard matlab version): See, e.g.
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.mathworks.com_matlabcentral_answers_56511-2Ddeployment-2Dof-2Da-2Dstandalone-2Dfigure-2Deditor-2Dpossible&d=DwIFAg&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=FVlvP2ZrMDKT1boSx5V9M0ADWW3Uaa3XUtkY69YHw30&s=xdR3olRnZsuM8fh2n5XySggC0GOZAsDtrLD1_2eFS9Q&e= 
> 
> "there's limitation and restriction to deploy program in MATLAB, one of which is those functions calling 'Tools that allow run-time manipulation of figures'"
> 
> You could request e.g. that better support for legends be added to EEGLAB. OTOH, what I, and many, do to create publication-ready figures is to save EEGLAB figures as PDF and then edit them in an app like adobe illustrator (or open source apps like inkscape)--there you can edit line colors and text to your heart's content.
> 
> I don't know if the compiled version of EEGLAB lets you save or print figures, though, but something to look into...
> 
> Best,
> 
> John
> 
> On Aug 5, 2021, at 1:53 PM, J Kiefer O'Sullivan via eeglablist <eeglablist at sccn.ucsd.edu<mailto:eeglablist at sccn.ucsd.edu>> wrote:
> 
> Hello and thank you for your time,
> 
> I had a quick question about data labels in relation to the legend for
> graphs.
> I'm graphing EEG data and when I go to plot channel measures, select my
> data, and plot the spectra, the graph comes up well. However, when I click
> to insert the legend, the labels for each graph come up as "data1" "data2"
> etc and not the condition names.
> I am using the compiled version of EEGLAB. From here, is there a way to get
> the data labels in the legend to match the appropriate conditions?
> 
> Thank you for your help,
> Kiefer
> 
> P.S. If there's also a way to change the plotted line's colours, that would
> be great also!
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu<mailto:eeglablist-unsubscribe at sccn.ucsd.edu>
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu<mailto:eeglablist-request at sccn.ucsd.edu>
> 
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu



More information about the eeglablist mailing list