Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2198
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2013-11-17 17:19 -0800 |
| References | <478f2b50-ce16-4b0c-acb9-c06b6fd200b0@googlegroups.com> <l5ujk4$g1b$1@dont-email.me> <af1b7ca0-4c41-4df3-8f99-1767189420c8@googlegroups.com> |
| Message-ID | <57ca8f56-4b0e-406b-bc3e-b34eef3b86a8@googlegroups.com> (permalink) |
| Subject | Re: plot pixel intensities on box surface |
| From | mattamimi@gmail.com |
On Wednesday, November 13, 2013 8:36:06 PM UTC-5, matt...@gmail.com wrote: > On Tuesday, November 12, 2013 8:11:32 PM UTC-5, Ethan A Merritt wrote: > mattamimi@gmail.com wrote: > Hi > I am working on a project that I need to generate graphs for. > I would like to plot the results as pixel intensities at the surfaces of a > box and as xy image plot (as CT slice). How do I do that? and what is the > correct data format to achieve that? I looked through the demos and could > not find similar plots. I tried to plot the data using the following > command: plot 'datafile.dat' binary array=(100,100) with image > > No matter what I do (changing the terminal type) all the plots the same > and does not make sense. You probably want to use commands such as in this demo: http://gnuplot.sourceforge.net/demo_cvs/image2.html It shows how to project the image described by a 2D array onto a rectangle in 3D. You are on your own to piece together six rectangles describing the sides of a 3D box. Ethan Hi Thanks for the link. I will try it. sincerely Mat Hi I tried image2 demo. I could not get it to work with my data very well. I arranged my box surfaces data in an ascii file into (100 x 100) matrix. I was able to plot the data using the following command splot 'MatrixData.dat' matrix with image I could not flip, rotate, center the data. I am not sure why. Anyone know why??? Mat
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar | Unroll thread
plot pixel intensities on box surface mattamimi@gmail.com - 2013-11-12 03:46 -0800
Re: plot pixel intensities on box surface Ethan A Merritt <sfeam@users.sourceforge.net> - 2013-11-12 17:11 -0800
Re: plot pixel intensities on box surface mattamimi@gmail.com - 2013-11-13 17:36 -0800
Re: plot pixel intensities on box surface mattamimi@gmail.com - 2013-11-17 17:19 -0800
csiph-web