Gnuplot question: how to plot 3D points as colored points in map view?

Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Gnuplot question: how to plot 3D points as colored points in map view?

I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this:
- points in map view (no 3D view)
- color of each point should depend on its z-value.
- I want to define my own color scale
- plot should contain a little legend box in the form of a color bar listing what z-value corresponds to what color

I tried pm3d, but it seems it only handles gridded data, i.e. x,y's on a regular grid, or at least displays them as such. I just want to see the individual points (no interpolation).

Thanks for your help here.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #523
Difficulty: Medium
Some programming languages implement strings by defining arrays of characters.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with decimal points

Hi All, I would like to set decimal point to 16 in the following bash script but it has syntax error at }: awk '{printf"%.16e", (a<500,a++,$1/(a*1.1212121212121229e-02))}' input.dat >output.datHow may I set it in the correct way please? Thank you very much! (6 Replies)
Discussion started by: sxiong
6 Replies

2. Red Hat

Mount Points? How?

Hi folks, I have been asked to performed the following: Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies

3. UNIX for Dummies Questions & Answers

gnuplot: map view with black and white for 0/1 in the 3rd column

Hi, I am using gnuplot to plot a 3D plot with "set view map". My data looks like ====== X Y Z ====== 100 200 0 200 300 1 200 200 0 . . . The third column only has either 0 or 1. How do I generate a map view plot that will have black (white) for 0 (1)? Thanks, Gaurab (0 Replies)
Discussion started by: gaurab
0 Replies

4. Programming

GNUPLOT- how to change the style of data points

Hi, I am trying to arrange my graphs with GNUPLOT. Although it looked like simple at the beginning, I could not figure out an answer for the following: I want to change the style of my data points (not the line, just exact data points) The terminal assigns first + and then x to them but what I... (0 Replies)
Discussion started by: natasha
0 Replies

5. UNIX for Dummies Questions & Answers

matching points in Gnuplot

Does anyone know how can one draw lines between 2 sets of data for the same point. let's say that the three points (x1,y1) = (1,2) (4,5) (8.9) became: (x2,y2) = (3,6) (6,4) (4, 0) so if I want to plot these points and match every (x1,y1) with the corresponding (x2,y2), how can I do it?... (3 Replies)
Discussion started by: cosmologist
3 Replies

6. Post Here to Contact Site Administrators and Moderators

Points?

Has any thought been given to assigning points to threads much in the way the HP ITRC forums do? This might not be possible, just a thought. (1 Reply)
Discussion started by: candlejack
1 Replies

7. UNIX for Advanced & Expert Users

mount points

hi, I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks? thanks (9 Replies)
Discussion started by: JamesByars
9 Replies

8. UNIX for Advanced & Expert Users

Gnuplot question: plotting 3D data in map view

I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this: - map view (no 3D view) - color of each point should depend on z-value. - I want to define my own color scale - plot should... (1 Reply)
Discussion started by: karman
1 Replies

9. UNIX for Dummies Questions & Answers

Basic question for making remote mount points

I'm on SunOS 5.8. I'm not sure of the exact terminology, but I want to make a "remote mount" from my server to another server. (Basically I want to create one of the mount points on my server be a shared volume that's on another server here). So if I do a df -k, I want to see all of the volumes... (1 Reply)
Discussion started by: FredSmith
1 Replies

10. UNIX for Advanced & Expert Users

mount points

sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Discussion started by: manderson19
3 Replies
PLSURF3D(3plplot)						    PLplot API							 PLSURF3D(3plplot)

NAME
plsurf3d - Plot shaded 3-d surface plot SYNOPSIS
plsurf3d(x, y, z, nx, ny, opt, clevel, nlevel) DESCRIPTION
Plots a three dimensional shaded surface plot within the environment set up by plw3d(3plplot). The surface is defined by the two-dimen- sional array z[nx][ny], the point z[i][j] being the value of the function at (x[i], y[j]). Note that the points in arrays x and y do not need to be equally spaced, but must be stored in ascending order. For further details see the PLplot documentation. Redacted form: plsurf3d(x, y, z, opt, clevel) This function is not used in any examples. ARGUMENTS
x (PLFLT *, input) Pointer to set of x coordinate values at which the function is evaluated. y (PLFLT *, input) Pointer to set of y coordinate values at which the function is evaluated. z (PLFLT **, input) Pointer to a vectored two-dimensional array with set of function values. nx (PLINT, input) Number of x values at which function is evaluated. ny (PLINT, input) Number of y values at which function is evaluated. opt (PLINT, input) Determines the way in which the surface is represented. To specify more than one option just add the options, e.g. FACETED + SURF_CONT opt=FACETED: Network of lines is drawn connecting points at which function is defined. opt=BASE_CONT: A contour plot is drawn at the base XY plane using parameters nlevel and clevel. opt=SURF_CONT: A contour plot is drawn at the surface plane using parameters nlevel and clevel. opt=DRAW_SIDES: draws a curtain between the base XY plane and the borders of the plotted function. opt=MAG_COLOR: the surface is colored according to the value of Z; if MAG_COLOR is not used, then the default the surface is colored according to the intensity of the reflected light in the surface from a light source whose position is set using pllight- source(3plplot). clevel (PLFLT *, input) Pointer to the array that defines the contour level spacing. nlevel (PLINT, input) Number of elements in the clevel array. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSURF3D(3plplot)

Featured Tech Videos