XForms: axial labels

From: James D. Stegeman (stegeman@grc.nasa.gov)
Date: Wed May 16 2001 - 10:45:46 EDT

  • Next message: Serge B Bromow: "XForms: Simulate Mouse Click"

    Greetings All,

    We are having some trouble getting the x-axis label on an xyplot object
    to appear as desired and
    were wondering if someone out there could point out the error in our
    ways. First, let me describe
    what we are doing with xforms:

    We have developed an interactive tool that lets users design a display
    page for the visualization of
    real time data acquisition. We visualize the data utilizing either
    straight, plain old alphanumerics
    or we let the user construct a plot and place multiple curves on it.
    One type of curve avialable for
    selection is a time sequence plot. It is like a strip chart moving from
    right to left. We want to
    label the x-axis with at least 4 acquisition times and adjust them
    accordingly whenever we update the
    plot. This is where we are having some trouble. Using
    fl_set_xyplot_alphaxtics(...) gets us the
    times on the x-axis, but the interval are mucked up. We seem to get an
    extra tick mark at the end
    of the axis (or you could say the labels wind up being one less than the
    end). Like this:

            |---------|--------|---------|-----------|
          xxxxx xxxxx xxxx xxxxx

    where we want it like this:

           |------------|------------|-------------|
        xxxxxx xxxxxx xxxxxx
    xxxxxx

    What have we done wrong? We tried using fl_set_xyplot_xtics(..., -1,-1)
    to negate any default
    tick mark routines, but with no luck. Are label intervals tied into the
    number of points on the
    curves somehow?

    Any help is appreciated,

    Thanks,

    Jim

    --
    -------------------------------------------------------------------------------
    

    James D. Stegeman | This space for rent: NASA Glenn Research Center | Lewis Field | 21000 Brookpark Rd. MS 142-4 | Phone: 1-216-433-3389 Cleveland, Ohio 44135 | Fax: 1-216-433-8000 | e-mail: stegeman@grc.nasa.gov -------------------------------------------------------------------------------

    _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Wed May 16 2001 - 14:51:56 EDT