"with boxes" option

Help
2003-09-13
2003-09-13
  • Hello

    I have a small question about "plot file u x:y:z with boxes".
    I have some data from a process ( there are method invocations and each method have some child or sibling ..etc).

    I tried  "plot file.dat u 7:2:3 w boxes "

    My small data set represents a parent Mx with 2 child (My and Mz, My has a child too Myy )

    #1      #2      #3      #4      #5      #6      #7
    0       10      15      5       10      Mx      1.04
    1       9       8       4       4       My      6.04
    2       8       4       4       0       Myy     10.04
    1       9       2       2       0       Mz      14.04

    I would like to make a graph and the parent box to "cover" the child ...
    but I don't understand why my graph start always from 0  ( for Mx ) and the box's width doesn't has 15 !!??

    I read about boxes that plot in the center of x ..but why the width is different , not 15 ?

    Thanks a lot !

    Daniel G.

     
    • I think you're misunderstanding what the "boxes" plot style is supposed to do.  It generates a diagram of boxes situated all *next* to each other, not of generic rectangles overlapping or including each other.

      Also make sure you didn't "set boxwidth" incorrectly.