Menu

#79 Another graph postscript relief bug

open
None
5
2003-02-18
2003-02-18
No

Following example produces postscript with raised
relief (using BLT 2.4z):

package require BLT
blt::graph .g -plotrelief flat -background white
.g element create x -xdata {0 1} -ydata {4 5} -symbol
""
.g legend configure -hide 1
pack .g
file delete g.ps
.g postscript output g.ps

Discussion

  • George A. Howlett

    • assigned_to: nobody --> ghowlett
     
  • George A. Howlett

    Logged In: YES
    user_id=137748

    Instead of setting -plotrelief to flat, try changing
    -plotborderwidth to
    0. This way no border will be displayed (in PostScript too).

    --gah

     
  • Karl Voskuil

    Karl Voskuil - 2003-09-23

    Logged In: YES
    user_id=119413

    I'm having a similar problem. The -plotborderwidth 0 technique
    suggested by George works as described, but a similar trick
    doesn't work to get rid of the border on the legend.

    Similar script as above, but producing a legend with sunken
    relief (using BLT2.4z):

    ------------------
    package require BLT
    blt::graph .g
    .g element create x -xdata {0 1} -ydata {0 1}
    .g legend configure -relief flat -activerelief flat -borderwidth
    0 -activeborderwidth 0
    pack .g
    file delete g.ps
    .g postscript output g.ps
    ------------------

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.