[Eeglablist] Adding ticks to the main plot

James Desjardins jdesjardins at brocku.ca
Fri May 20 20:24:30 PDT 2011


Hi Mary-Jane,

I will give more detailed information about the specific plot you are  
making if you include the name of the eeglab function that created the  
figure (this will be displayed in the title bar caption of the figure  
window followed by empty brackets).

Generally, Matlab figure properties can be adjusted using the "Edit"  
menu of the figure window. Use "Edit > Figure Properties..." to open  
the Property Editor within the figure window. Then click on your  
figure axis (anywhere in the white rectangle behind your waveforms) to  
display the Axes properties. There will then be tabs for each of the  
axes, select the "X Axis" tab and then click the "Ticks..." button to  
manually adjust your axis ticks.

Further, click the "More Properties..." button to display an editable  
list of all the axes properties. The property "XTick" controls which  
ticks are displayed along the X axis. If you wanted to only display  
ticks starting at ms 100, every 10ms, until 200ms you would simply  
list those values for this property. Similarly this can be achieved by  
selecting the figure axis then typing the following in the matlab  
command line:

set(gca,'XTick',[100:10:200])

You can find more information here:

http://www.mathworks.com/help/techdoc/creating_plots/f6-7929.html

I hope this helps..

James Desjardins
Technician, MA Student
Department of Psychology, Behavioural Neuroscience
Cognitive and Affective Neuroscience Lab
Brock University
500 Glenridge Ave.
St. Catharines, ON, Canada
L2S 3A1
905-688-5550 x4676


Quoting "Budd, Mary-Jane" <mbudd at essex.ac.uk>:

> I am new to eeglab and Matlab and I was wondering if you could help. I have
> created an ERP plot using a study of 60 electrodes and I would like to show
> the ms ticks on the x axis on the main plot ie when all electrodes are
> shown. Can anyone tell me how to do this please?
>
> Mary-Jane
>
> --
> Dr Mary-Jane Budd
> Senior Research Officer
> Department of Language and Linguistics
> University of Essex
> Wivenhoe Park
> Colchester CO4 3SQ
> UK
>
> Room 4.344
>
>
> _______________________________________________
> 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