Imshow comes with some settings which you can manipulate to display the image as is without down-sampling (namely the 'InitialMagnification' argument).
I am very sorry, but I have no idea about constructing such Flow charts in Matlab,I doubt it has a function for that. Simulink does have a flow chart like programming environment but I think it is not what you want.
imread does not support files other than: BMP ? Windows Bitmap JPEG ? Joint Photographic Experts Group PNG ? Portable Network Graphics CUR ? Cursor File JPEG 2000 ? Joint Photographic Experts Group 2000 PPM ? Portable Pixmap GIF ? Graphics Interchange Format PBM ? Portable Bitmap RAS ? Sun Raster HDF4 ? Hierarchical Data Format PCX ? Windows Paintbrush TIFF ? Tagged Image File Format ICO ? Icon File PGM ? Portable Graymap XWD ? X Window Dump
"leo nidas" <email@example.com> wrote in message <firstname.lastname@example.org>... > "Abbas Cheddad" <cheddad10NOSPAM@yahoo.com> wrote in message <email@example.com>... > > Use imshow instead of image. > > > > rgb = imread('algo.png'); > > imshow(rgb); > > %axis off > > %axis image > > > > Your 2nd question > > Bar and Area Graphs > > http://www.mathworks.se/help/techdoc/creating_plots/f10-19972.html > > > > Pie Charts > > http://www.mathworks.se/help/techdoc/creating_plots/f10-1092.html > > > > > > Your 3rd question > > As far as I know Matlab can read/write .pdf as files. Your image is embedded into the .pdf file I presume? > > > > Abbas > > > > > Thank you Abbas for your reply, > > Using imshow still does not provide the visual quality that the original graph has.. > > I am not sure how the links you provided about Pie and bar charts can drive me through to draw a flowchart.. > > I would want something like this > > http://en.wikipedia.org/wiki/Flowchart > > to describe an algorithm (I don't care about colors, I use black white grey images) > > > I have no particular picture that is in pdf format. I just want to learn how can use MATLAB to load png or jpg format for further manipulation and then save them as eps witout any loss in terms of quality. > > I noticed that imread does not support pdf formats (I would like to know in case I have an image in pdf format and wanted to do the same (i.e. load them in matlab and saving them as eps)) > > > Any further suggestions are more than welcome! > > Thanx again!