<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Steve, 
<div>Thanks so much for your helpful comment! </div>
<div>I'll give this a try!</div>
<div><br>
</div>
<div>All the best</div>
<div><br>
</div>
<div>Erin<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div>----------------------------------------------------</div>
Erin White, PhD
<div>Post-Doctoral Research Fellow</div>
<div><font size="2" face="Tahoma">Neurosciences and Mental Health<br>
The Hospital for Sick Children<br>
555 University Avenue<br>
Toronto, Ontario<br>
Canada</font><font face="Times New Roman" style="font-family:'Times New Roman'; font-size:16px"> </font></div>
<div>Telephone: (647)834-7813</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF695366" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> fieldtrip-bounces@science.ru.nl [fieldtrip-bounces@science.ru.nl] on behalf of Stephen Politzer-Ahles [stephen.politzer-ahles@ling-phil.ox.ac.uk]<br>
<b>Sent:</b> November 27, 2015 7:28 AM<br>
<b>To:</b> fieldtrip@science.ru.nl<br>
<b>Subject:</b> Re: [FieldTrip] Adding tick marks to the X and Y axes in multiplotER and multiplotTFR images<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi Erin,<br>
<br>
</div>
I don't use the multiplot functions much, so my solution is clunky and there may be others on the list with a better way to do this. But just in case, here's how I do it:<br>
<br>
</div>
Rather than using multiplot, I make each plot individually, and use the subplot() command to arrange multiple plots into a figure. Within each subplot, I just use some custom code to draw the ticks. For example:<br>
<br>
</div>
tickspots = [-200:200:1000]; % one tick every 200 ms, from -200 to 1000 ms<br>
</div>
<div>tickheight = [-.5 .5]; % how high and low the ticks will go<br>
</div>
<div><br>
</div>
for tickspots = tickspot % iterate through tick spots<br>
</div>
plot( [tickspot tickspot], tickheight, 'k' ); % plot each tick as a black line<br>
</div>
end;<br>
<br>
<br>
</div>
Best,<br>
</div>
Steve<br>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span>
<div><br>
<br>
---<br>
</div>
Stephen Politzer-Ahles<br>
University of Oxford<br>
Language and Brain Lab, Faculty of Linguistics, Phonetics & Philology<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__users.ox.ac.uk_-7Ecpgl0080_&d=BQMFaQ&c=Dvjge31PR3JZstzk2paJYiflTxRSxp35GBhsbHdd2Zw&r=I8lBTmv7Y9oqVGvTj_vgdd74EEIPprGsdbxcnXduG2k&m=lnKeei_k8PbT5JQEFb_AdyFHThYK07IvJphgqiA4pd8&s=yHg_UuAaKeXLiYDOWrOeEtt0pDtbBRlk3w7TC1hOKdw&e=" target="_blank">http://users.ox.ac.uk/~cpgl0080/</a></span></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 26 Nov 2015 12:48:25 +0000<br>
From: Erin White <<a href="mailto:erin.white@sickkids.ca" target="_blank">erin.white@sickkids.ca</a>><br>
To: "<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>" <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>><br>
Subject: [FieldTrip] Adding tick marks to the X and Y axes in<br>
        multiplotER and multiplotTFR images<br>
Message-ID:<br>
        <<a href="mailto:0D4EE8880DEE3047BEC905C0EC463F8C2769D79D@SKMBXX03.sickkids.ca" target="_blank">0D4EE8880DEE3047BEC905C0EC463F8C2769D79D@SKMBXX03.sickkids.ca</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
I'm new at programming and was wondering if someone could help with something that I'm sure is simple.<br>
I'd like to add tick marks to my multiplotER and multiplotTFR figures so that the timing and amplitude (for multiplotER) and timing and frequency (for multiplotTFR) scales are presented clearly. For example, I'd like a tick mark on my X axes every 200 ms, and
 on the y axes, every 2 mV for ER images and every 5 Hz for TFR images.<br>
<br>
Could anyone suggest what I should add to my code to show this?<br>
<br>
Thanks very much!<br>
<br>
Erin<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
----------------------------------------------------<br>
Erin White, PhD<br>
Post-Doctoral Research Fellow<br>
Neurosciences and Mental Health<br>
The Hospital for Sick Children<br>
555 University Avenue<br>
Toronto, Ontario<br>
Canada<br>
Telephone: <a href="tel:%28647%29834-7813" value="+16478347813" target="_blank">(647)834-7813</a><br>
<br>
________________________________<br>
<br>
This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than
 the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.science.ru.nl_pipermail_fieldtrip_attachments_20151126_f0640a71_attachment-2D0001.html&d=BQMFaQ&c=Dvjge31PR3JZstzk2paJYiflTxRSxp35GBhsbHdd2Zw&r=I8lBTmv7Y9oqVGvTj_vgdd74EEIPprGsdbxcnXduG2k&m=lnKeei_k8PbT5JQEFb_AdyFHThYK07IvJphgqiA4pd8&s=FmN3rAazjWE7X3VNWe9inCleacotHKfw1DcE_o7NzIk&e=" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20151126/f0640a71/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.science.ru.nl_mailman_listinfo_fieldtrip&d=BQMFaQ&c=Dvjge31PR3JZstzk2paJYiflTxRSxp35GBhsbHdd2Zw&r=I8lBTmv7Y9oqVGvTj_vgdd74EEIPprGsdbxcnXduG2k&m=lnKeei_k8PbT5JQEFb_AdyFHThYK07IvJphgqiA4pd8&s=drk-AiunEleVxdA8tNdBGdW-aeB0kyYThmmRFJDpc4A&e=" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
End of fieldtrip Digest, Vol 60, Issue 23<br>
*****************************************<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than
 the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.<br>
</font>
</body>
</html>