From: tibor on
yes saving is option but it is redundant work, like i said better would be editing image, adding lines into it (instead of creation figure) because i don't need figure to show i need image for next processing (so creating figure saving and again loading image is extra work for processor)
any ideas how write lines like that into image without using plot? i was thinking about imline but it is not what i need

thanks for suggestions tibor
From: Oliver Woodford on
"tibor " <spart(a)zoznam.sk> wrote in message <hkgmu4$7ed$1(a)fred.mathworks.com>...
> yes saving is option but it is redundant work, like i said better would be editing image, adding lines into it (instead of creation figure) because i don't need figure to show i need image for next processing (so creating figure saving and again loading image is extra work for processor)
> any ideas how write lines like that into image without using plot? i was thinking about imline but it is not what i need
>
> thanks for suggestions tibor

Saving lines into images is a common problem, unfortunately currently with no good solution (that I'm aware of) other than plotting the figure. However, you don't need to save the figure to disk - you can use getframe. To avoid cropping, set the image to fill the entire figure, and set the figure to the size of the image.

HTH,
Oliver