<div dir="ltr">Hello Markus,<div><br></div><div>Regarding your second question: you can type 'help topoplot' to see documentation for the topoplot() function (the same goes for any other function). In this case, the 'nosedir' parameter allows you to have the  nose face in other directions. You can also rotate it an arbitrary amount by using the view() command (there's an example in the help documentation) or you can do this manually in the Matlab figure by clicking the "Rotate 3D button", which looks like a cube. When I tried this it seems like I can only rotate around the z-axis; rotating other ways makes the different parts of the plot come apart.</div><div><br></div><div>Regarding question (1), if you mean to flip the topography so the nose is still at the top but left means right and right means left, I'm not sure if there's a built-in way to do that. I was able to do it using this hack, but maybe someone else knows a better way:</div><div>1. Manually rotate the figure around the y-axis; you'll see that the head circle, electrode markers, contour lines, etc., all disappear (they are being hidden behind the topography itself, which has a lower z-value than the rest).</div><div>2. Get the handles of all the separate parts of the figure using list=get(gca,'children'). </div><div>3. In  my case, the 8th handle (list(8)) was the one for the topoplot itself. I'm not sure if this is always the case, or if your figures might come out different. So anyway, I just set the ZData for this  handle to a very high number, which put it "behind" the other parts of the figure (contour lines etc.) and made them appear again:  set(list(8),'ZData', 5+zeros(size(get(list(8),'ZData'))) ). This made the other parts of the plot visible again.</div><div><br></div><div>Hope this helps,</div><div>Steve</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br><br></div>Stephen Politzer-Ahles<br>New York University, Abu Dhabi<br>Neuroscience of Language Lab<br><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank">http://www.nyu.edu/projects/politzer-ahles/</a><br></div></div></div>
<br><div class="gmail_quote">On Thu, Nov 13, 2014 at 2:45 AM, Markus Gschwind <span dir="ltr"><<a href="mailto:markus.gschwind@gmail.com" target="_blank">markus.gschwind@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi all,</div><div><br></div><div>Could anyone point me to a way how to modify a given topography (vector with # elements corresponding to EEG.chanloc)</div><div><br></div><div>1) so as to flip the topography left-right (I understood it is the y axis?)</div><div><br></div><div>2) rotate around a given angle and axis?</div><div><br></div><div>How can I perform these modifications and the SAVE the new topo-vector in a file?</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>Best,</div><div>Markus</div></div>
</div><br></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>