Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Re: heat plot w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 13 Topic 3385 of 3655
Post > Topic >>

Re: heat plot with a different palette + cbrange for each row

by adron02@[EMAIL PROTECTED] Jul 15, 2008 at 09:30 AM

On Jul 14, 12:39 pm, merr...@[EMAIL PROTECTED]
 wrote:
> In article
<de27999d-58b8-4972-9032-7c1b6e516...@[EMAIL PROTECTED]
>,
>
>
>
>  <adro...@[EMAIL PROTECTED]
> wrote:
> >On Jul 13, 12:53 pm, merr...@[EMAIL PROTECTED]
 (Ethan Merritt) wrote:
>
> >> >The first 2 columns are x and y, and after that I have a number of
> >> >columns with values normalized to 1. I have already made 3d plots
(as
> >> >well as pm2d map plots) of x,y,z, where z is one of the columns
> >> >labaled successively with 1, 2, 3... . However, these plots are
> >> >interdependent and I want to put them together on a single graph.
What
> >> >are my options?
>
> >> Sorry. I don't understand what you mean by "on a single graph".
> >> Could you perhaps provide a URL for a graph that is similar to
> >> what you are trying to achieve?
>
> >http://picasaweb.google.com/adron02/Plot
> >This is something similar to what I would like to obtain. However, I
> >want to have a smooth surface (not lines) with different colors (as
> >shown) for each graph. Transparency could be helpful, although I am
> >not certain if this can be achieve for the different graphs in the
> >same splot command.
>
> OK, thanks.  Now I understand what you are aiming for.
>

Thank you. It worked. You probably meant "splot" rather than "plot"
below, and with that changed everything was fine. However, I have a
few questions that I was not able to figure out:

> So I think what you want is something like this [untested!]
>
> # Depth-sorted pm3d-colored surfaces
>         set style data pm3d
>         set pm3d depthorder
> # Make surfaces translucent (only in CVS version)
>         set style fill transparent solid 0.5 noborder
> # In two different palette ranges:  1-100, 101-200
>         set palette model RGB  defined \
>             (0 "blue", 100 "green", 101 "yellow", 200 "red")
> # Plot 2 separate surfaces, assumed to have Z-values normalized to [0:1]
> # Z value is used twice;  once as an actual Z for drawing the surface,
> # and separately as an index into the current palette.
>         plot 'surface1' using 1:2:3:($3*100.), \
>              'surface2' using 1:2:3:($3*100. + 100.)
>
> After that you still may want to further adjust line styles to
> minimize or delete the grid lines on the surfaces.
>

I am getting a smooth surface without a grid. How can I get grid lines
as well (like in the plots I attached)? Also, is it possible to
interpolate these grid lines (i.e. as you say minimize or maximize
their number)? I looked at "isosamples", but it works only for
functions and not for data files.

Finally, can "pallette" be used "with lines", i.e. get the palette
colors for the different surfaces if these surfaces are just
represented as a grid (like in the plots I linked to)? I do not want
to get so different colors for the different surfaces, but rather a
smooth change from one color to another, for example from white to
blue when you go from the first surface to the last one. I was not
able to make this work if I use the option "with lines".

Thanks.

>
>
>
>
> >> >I have considered 2 options for now:
>
> >> >1. Use multiplot to stack these plots together using different
pallete
> >> >(colors) for every collumn. However, it seems hard to adjust the
view
> >> >options. Also, the graph becomes messy when colors are overlapping.
Is
> >> >there a way to make colors a bit transparent?
>
> >> The CVS version of gnuplot sup****ts transparency.
> >>         set style fill transparent solid <alpha_value> {{no}border}
>
> >Thanks, but I cannot get this to work in any desired way with
> >multiplot.
>
> >> >2. Use animated gif to make a figure that samples through all plots
> >> >corresponding to every column. However, first, I am not certain I
know
> >> >how exactly to make this, and second, this will not work if we want
to
> >> >obtain a static graph intended for a paper.
>
> >> > I also cannot understand this:
> >> >> 2) define a multi-range palette, but use the same palette for the
> >> >>   whole set of plots. For example:
>
> >> >>   set palette model RGB  defined \
> >> >>   (0 "white", 100 "black", 101 "yellow", 200 "red", 201 "green",
299 "blue")
> >> >>   test palette
>
> >> >and if it has applicability to my case. I do not know what exactly
> >> >these numbers define, and how exactly this pallette can be used.
>
> >> >I would appreciate any suggestions.
> >> >Thanks.
>
> >> --
> >> Ethan A Merritt
>
> --
> Ethan A Merritt
 




 13 Posts in Topic:
heat plot with a different palette + cbrange for each row
Rahul <nospam@[EMAIL P  2008-06-25 20:56:22 
Re: heat plot with a different palette + cbrange for each row
Rahul <nospam@[EMAIL P  2008-06-27 17:44:18 
Re: heat plot with a different palette + cbrange for each row
merritt@[EMAIL PROTECTED]  2008-06-27 12:19:45 
Re: heat plot with a different palette + cbrange for each row
adron02@[EMAIL PROTECTED]  2008-07-13 08:35:48 
Re: heat plot with a different palette + cbrange for each row
merritt@[EMAIL PROTECTED]  2008-07-13 09:53:45 
Re: heat plot with a different palette + cbrange for each row
adron02@[EMAIL PROTECTED]  2008-07-14 08:00:29 
Re: heat plot with a different palette + cbrange for each row
merritt@[EMAIL PROTECTED]  2008-07-14 09:39:27 
Re: heat plot with a different palette + cbrange for each row
adron02@[EMAIL PROTECTED]  2008-07-15 09:30:59 
Re: heat plot with a different palette + cbrange for each row
merritt@[EMAIL PROTECTED]  2008-07-15 21:01:49 
Re: heat plot with a different palette + cbrange for each row
Rahul <rpnabar@[EMAIL   2008-08-19 15:00:39 
Re: heat plot with a different palette + cbrange for each row
merritt@[EMAIL PROTECTED]  2008-08-19 20:10:39 
Re: heat plot with a different palette + cbrange for each row
Rahul <nospam@[EMAIL P  2008-08-20 17:28:56 
Re: heat plot with a different palette + cbrange for each row
Dan <luecking@[EMAIL P  2008-08-20 11:14:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 1:55:07 PST 2009.