|
From: H.S. <hs....@gm...> - 2008-03-24 03:59:52
|
Hans-Bernhard Bröker wrote: > H.S. wrote: > >> I have a number of groups of 2-D points which I want to plot such that >> each group's points (the points are already labeled based on which group >> they belong to) are plotted in a different color. > > You want to re-read 'help plot with' and pay particular attention to the > 'palette' option. Hello, I have it working to some extent using splot and map view. The main command I am using to do this is (see further below for the data file): set pm3d set palette rgb 33,13,10 set view map set cbrange [1:4] ssplot "3cols.dat" with points palette pt 9 However, I am still trying to see how to do this using the 'plot' command. Could you give me an example how to plot the following data such that the colors are determined by the 3-rd column using 'plot' command? Or is not possible with this command? ######### 3cols.dat ######### 0.2846 0.1857 1 0.8283 0.1330 2 0.3306 0.8348 3 0.7961 0.7968 4 ############################# Thanks, ->HS |