|
From: Soon <met...@ya...> - 2007-06-07 03:29:10
|
Thanks so much! I'm able to display the image now. But I still have 1 more question: How to display a 2D image in a 3D space? To display 2D image, I use the folowing command: plot 'Image.bin' binary array=308x785:785x308 format='%uchar' dx=2:1 dy=1:2 origin=(0,0):(785,785) w rgbimage But when I modify the command in order to display it in 3D: splot 'Image.bin' binary array=308x785x100:100x785x308 format='%uchar' dx=2:1 dy=1:2 dz=2:1 origin=(0,0,0):(785,785,785) w rgbimage It showed error: "Currently do not support sampled array dimensions greater than 2" What does it means? Thanks ya =) Thomas Sefzick wrote: > > for a bmp-file (named 'ts.bmp') with size 320x240 the plot-command would > be: > > plot "< bmptopnm ts.bmp | tail -n 1" binary array=320x240 format="%uint8" > flipy with rgbimage > > (i'm using gnuplot 4.3) > > > Soon wrote: >> >> I have downloaded the netPbm v10.27, so how do I call the netpbm programs >> from gnuplot? Thanks again =) >> >> >> Thomas Sefzick wrote: >>> >>> convert the images (with e.g. some 'netpbm' package programs) into >>> something readable by gnuplot (see 'show datafile binary filetypes') and >>> then plot it with >>> plot 'filename' binary ... with rgbimage >>> >>> >>> Soon wrote: >>>> >>>> Hi... Can anyone please enlighten me on how can I use gnuplot to >>>> display images of BMP/PNG format? I am using gnuplot version 4.2. >>>> Thanks ya =) >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Display-Image-using-gnuplot...-tf3869138.html#a11001442 Sent from the Gnuplot - User mailing list archive at Nabble.com. |