Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1247
| From | Reza <bakhtiari.reza@gmail.com> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: density plot at certain points |
| Date | 2012-07-05 09:17 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <8b232a17-d83e-417d-b7ff-4bab253a38b0@googlegroups.com> (permalink) |
| References | <cbdca45a-d97d-4f73-93e2-0907760c3edb@googlegroups.com> <jt4dof$p8i$1@dont-email.me> |
Hi, Thanks, that link is very helpful. As you mentioned, I want just the proper colorful points in a 2D plot. The idea of pm3d was the 1st came to my mind. In somehow it is doable also with plot 'data' with image but dont know how to make it circle. it generates rectangle, now playing with that as well. On Thursday, July 5, 2012 6:01:17 PM UTC+2, sfeam wrote: > Reza wrote: > > > Hello GnuPlotters! > > > > I have a c++ code which generates 36 point with their X,Y coordinates > > (X= column and Y= column ). There is a quantity that I calculate at > > each of this point (e.g say density) which is then stored as 3rd > > column. Now I have this data file. > > > > Q: How can I generate a pm3d plot which shows a circle of attributed > > radius to each of (X;Y) points and its color attributes with the > > density number in that point? As the simplest case, imagine we want to > > generate checkerboard pattern but with a certain circles and > > disconnected. > > The second plot in the demo > http://gnuplot.sourceforge.net/demo_canvas/rgb_variable.html > > shows one way to plot circles with both size and color controlled > by the input data. > > Your case is simpler because it uses a single value for the color > rather than separate R/G/B values. > On the other hand you might prefer more precise control over the > radius of the circles, in which case you could use the plot style > "with circles" rather than "with points pointstyle 7". > > > When I use pm3d map it gives me a blurry image which connected border > > between points, i.e does not tale into account the fact that points > > are separated. > > I don't think you want pm3d for this at all. > You just want colored circles, right?
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Find similar
density plot at certain points Reza <bakhtiari.reza@gmail.com> - 2012-07-05 08:39 -0700
Re: density plot at certain points Reza <bakhtiari.reza@gmail.com> - 2012-07-05 08:43 -0700
Re: density plot at certain points sfeam <sfeam@users.sourceforge.net> - 2012-07-05 09:01 -0700
Re: density plot at certain points Reza <bakhtiari.reza@gmail.com> - 2012-07-05 09:17 -0700
csiph-web