Prev: Remove elements from sparse matrix
Next: bvp5c question
From: sscnekro on 5 Jun 2010 14:50 Hey guys, 1st of all, I need to say a sorry for my poor explanation in the post. Re: dpb [Yeah, I knew plot() ignored NaN's which will give the extra point; thought your intention was for the end tick label to be totally blank.] Indeed, it was not clear from my post. Your hint will prove useful at some point later, I'm sure of it! > > I mean I need to display a "zero line" in the plot. I should have said, I need to get a horizontal zero line to the plot. Going through each bit of hints you gave, finally this worked in the code. (Guess after how many trials I came up with the right positions...) line([xmin xmax], [0 0], 'Color', 'k'); Guys, a big thank you! |