| 
      
      
      From: Ethan M. <eam...@gm...> - 2023-05-17 16:06:12
      
     | 
| On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar <
deb...@gm...> wrote:
> Dear Users
>
> I have data in the following format
>
> X1 Y1 Z1 Y2 Z2...Yn Zn
> X2 Y1 Z1 Y2 Z2...Yn Zn
> .
> .
> .
> Xn Y1 Z1 Y2 Z2...Yn Zn
>
> I would like to draw a rowstacked histogram (which I know how to) where the
> colors for the bars are specified by the corresponding Z columns. For
> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, and
> so on...mush like the use of cbrange. Could you suggest how I can
> accomplish this?
>
set style data histogram
set style histogram rows
set style fill solid border lc "black"
set cbrange [0:<something>]
plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette title
"???"
It is not clear to me how you would label or construct a legend describing
this in a way that is easy for the viewer to understand.  Perhaps
superimpose
a label on top of each individual box?
    Ethan
> Thank you
>
> Debostuti
> --
> Debostuti Ghosh Dastidar
> Research Associate
> PDB-India
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
 |