For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > gridlines??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author gridlines??
Floyd

2005-04-26, 4:04 pm

Does anyone know how to add more gridlines to my matlab plot (figure)? The
reason I want to do this is to print off, draw tangents to enable me to
calculate the slope of the curve. To do this I need more minor gridlines to
achieve the accuracy of the result I need!

Thank you


Titus Edelhofer

2005-04-26, 4:04 pm

Hi,

does this what you want:

set(gca,{'xminorgrid' 'yminorgrid'}, {'on' 'on'})

Titus

"Floyd" <j.l.owens@blueyonder.co.uk> schrieb im Newsbeitrag
news:Xyrbe.155436$Nr5.21224@fe2.news.blueyonder.co.uk...
> Does anyone know how to add more gridlines to my matlab plot (figure)?
> The reason I want to do this is to print off, draw tangents to enable me
> to calculate the slope of the curve. To do this I need more minor
> gridlines to achieve the accuracy of the result I need!
>
> Thank you
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com