|
From: | William Krekeler |
Subject: | RE: Crosshairs in Octave GNUPlot? |
Date: | Mon, 31 Jan 2011 14:51:58 +0000 |
Do you mean like turning on the grid for an axis after using the
plotyy command? x1 = 1:10; y1 = 2*x1; x2 = x1; y2 = y1+x2.^2; figure, plotyy( x1,y1,x2,y2) axesChildren = get(gcf, 'Children'); %
get the two axes % get and change properties get(axesChildren(1)) %
get properties of the first axis, change the property you want to change set( axesChildren(1), 'XGrid', 'on' ) % other properties XGrid, YGrid, ZGrid, XTick, YTick,... Bill Krekeler From:
address@hidden [mailto:address@hidden On
Behalf Of Jason Criss Does
anyone know how to add vertical and horizontal crosshairs to the cursor in a
plot? This is useful for when 2 series are plotted on the same plot, but
separated along the y-axis. |
[Prev in Thread] | Current Thread | [Next in Thread] |