<div dir="ltr">Dear Makoto,<div><br></div><div>Thanks for the answer.</div><div><br></div><div>If I will have to go over the manual change of xyz could you give me some hint of how to do it?</div><div><br></div><div>Thanks so much!</div><div>Markus</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-15 19:33 GMT+01:00 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Markus,<div><br></div><div>I don't think there is a supported graphical editor that takes care of it. You can manually change the xyz (or other coordinate parameter) values, but it would not be that convenient.</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 10:06 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">Dear Steven,<div><br></div><div>Thank you very much for your detailed answer. But I fear I still was not clear.</div><div><br></div><div>I do not talk about display. I want do modify the topography itself and SAVE the modified topography in a new one. I want to create artificial topographies out of existing ones.</div><div><br></div><div>So I need to use the XYZ information from EEG.chanloc like in topoplot in order to know which electrode is right and which left, but I need to separate it from the topography (which is a simple vector with 204 numbers according to the 204 electrodes). I would like to modify the values in the topography in such a way that it appears as a left-right-flipped version, or any other operation. </div><div><br></div><div>So my question is if there is a tool which allows to spatially modify and SAVE the modified topography, not to modify the display!</div><div><br></div><div>Thank you again!</div><div>Best, Markus</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-13 3:50 GMT+01:00 Stephen Politzer-Ahles <span dir="ltr"><<a href="mailto:spa268@nyu.edu" target="_blank">spa268@nyu.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><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"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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></div></div>_______________________________________________<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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</font></span></div>
</blockquote></div><br></div>