Phil747 wrote in news:5065000000050000001BA50100-
1079395200000@exchange.ni.com:
> Thanks for the trick about shift key to enlarge X and Y equally. But
> I'm not sure we understand each other about seeing the axes. I'm not
> really interested in seeing the scales, but, as my chart goes from -5
> to 5 in both directions and as I'm plotting a circle, I'd like to see
> the axes themselves, just that + in the middle of my chart. I found
> that I can add a cursor to do so, but it's not really what it is done
> for...
>
> Thanks again
>
> Phil
How about adding two more lines to the graph-- one from [0 Ylim(1)] to [0
Ylim(2)] and the next from [Xlim(1) 0] to [Xlim(2) 0]??
>> plot([1:100]-50, [1:100]-50)
>> set(gca,'visible','off
')
>> h1=line([ 0 0] , get(gca,'ylim'))
h1 =
102.0010
> h2=line(get(gca,'xlim'),[0 0 ])
h2 =
103.0004
>> set(gcf, 'color','white')
You can change the properties of the new "Axes" by adjusting the handle
graphics properties of h1 and h2
Scott