<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Now that I think about it, there has perhaps always been some issues with making selections when multiple plots are present in a single chart…<div><br></div><div>-Eric</div><div><br></div><div><br><div><div>On Jan 20, 2012, at 12:16 PM, Eric E. Monson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey Gerrit,<div><br></div><div>(Please reply to the whole list so everyone can learn and contribute together.)<br><div><br></div><div>I'm glad that helped. Pan and zoom seem to work okay for me with multiple plots in multiple "corners", but I do see some strangeness with selections. I don't have time to look at the source code right now, but maybe Marcus can comment if he gets a chance.</div><div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br></div><div><br><div><div>On Jan 19, 2012, at 11:52 AM, Gerrit van Doorn wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks Eric, exactly what I was looking for! The ranges are on the same graph and scaled (so e.g. if in one plot the max is 3.0, and the other max is 1.0, 3.0 and 1.0 are at the same height). I also noticed that after doing this mouse interactions apply to the 2nd plot only.<br>
<br><div class="gmail_quote">On Thu, Jan 19, 2012 at 6:37 AM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hey Gerrit,<div><br></div><div>You can actually leave AutoAxes on. The way to get the extra axes to show up and use them for plots is to set the "plot corner". This nomenclature is a bit opaque to me, but the idea is that each chart has four possible corners. The default one is 0, which uses the left and bottom axes. Corner 1 uses bottom and right; 2 uses right and top and 3 uses top and left. </div>
<div><br></div><div>So, after you've added a plot to the chart, you can call</div><div><br></div><div>chart->SetPlotCorner( chart->GetPlot(0), 1);</div><div><br></div><div>and this will switch it to using the bottom and right axes. I would think there would be an enum for the corner integers, but I couldn't fine one offhand. I haven't played around enough to see how this behaves with multiple plots that have different ranges, etc – only tried it out to see that the basic functionality works.</div>
<div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br></div><div><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br></div></div></span><br></span></div><div><div class="im"><div>
On Jan 18, 2012, at 8:22 PM, Gerrit van Doorn wrote:</div><br></div><blockquote type="cite"><div class="im">OK, I figured out the trick was to disable AutoAxis:<div> chart->SetAutoAxes(false);</div><div><br></div></div>
<div><div class="im">Now I'm still wondering if it is possible to draw a 2nd plot using the RIGHT Axis. Does anybody know if this is possible?<br>
<br><div class="gmail_quote">On Wed, Jan 18, 2012 at 2:24 PM, Gerrit van Doorn <span dir="ltr"><<a href="mailto:gdoorn@newfieldwireless.com" target="_blank">gdoorn@newfieldwireless.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi,</div><div><br></div><div>I'm trying to plot a second Y-Axis on the right side of a line/bar plot by enabling vtkAxis::RIGHT (chart->GetAxis(vtkAxis::RIGHT)->SetVisible(true);)</div><div>However, it doesn't show up. I also tried this on a line plot in ParaView (using the settings menu) but here it also doesn't display the Axis on the right side. Is there something I'm forgetting to do?</div>
<div>Is it possible to plot 2 line graphs in the same chart with each their own Y-Axis?</div><div><br></div><div>I'm using VTK 5.8</div><div><br></div><div>Thanks,</div>gerrit
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Gerrit van Doorn</b><div>Software Engineer</div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="EN-CA" style="font-size:10pt;color:rgb(0,128,255)">O</span></b><span lang="EN-CA" style="font-size:10pt"> <a href="tel:%2B1%20510.809.2338" value="+15108092338" target="_blank">+1 510.809.2338</a> <b><span style="color:rgb(0,128,255)">M</span></b> <a href="tel:%2B1%20510.859.4618" value="+15108594618" target="_blank">+1 510.859.4618</a></span></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:17px"><span lang="EN-CA" style="font-size:10pt">2855 Telegraph Avenue, Suite 600<br>Berkeley, CA 94705 <br></span><a href="http://www.newfieldwireless.com/" style="color:rgb(42,93,176)" target="_blank"><span lang="EN-CA" style="font-size:10pt;color:blue">www.newfieldwireless.com</span></a></span></div>
</div><div><span><image003.png></span></div><div class="im"><div><span style="font-family:arial,sans-serif;font-size:9px;border-collapse:collapse">This message, including any attachments, may contain confidential <br>
information intended only for the person(s) named above. Any views <br>or opinions expressed are solely those of the author and do not <br>necessarily represent those of Newfield Wireless If you are not the <br>intended recipient or have received this message in error, please <br>
notify the sender immediately by reply email and permanently delete <br>the original transmission from the sender, including any attachments, <br>without making a copy. Thank you.</span></div><br>
</div></div>
_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Gerrit van Doorn</b><div>Software Engineer</div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="EN-CA" style="font-size:10pt;color:rgb(0,128,255)">O</span></b><span lang="EN-CA" style="font-size:10pt"> +1 510.809.2338 <b><span style="color:rgb(0,128,255)">M</span></b> +1 510.859.4618</span></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:17px"><span lang="EN-CA" style="font-size:10pt">2855 Telegraph Avenue, Suite 600<br>Berkeley, CA 94705 <br></span><a href="http://www.newfieldwireless.com/" style="color:rgb(42,93,176)" target="_blank"><span lang="EN-CA" style="font-size:10pt;color:blue">www.newfieldwireless.com</span></a></span></div>
<div><span><image003.png></span></div><div><span style="font-family:arial,sans-serif;font-size:9px;border-collapse:collapse">This message, including any attachments, may contain confidential <br>
information intended only for the person(s) named above. Any views <br>or opinions expressed are solely those of the author and do not <br>necessarily represent those of Newfield Wireless If you are not the <br>intended recipient or have received this message in error, please <br>
notify the sender immediately by reply email and permanently delete <br>the original transmission from the sender, including any attachments, <br>without making a copy. Thank you.</span></div><br>
</blockquote></div><br></div></div></div>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></body></html>