Ignore:
Timestamp:
Jun 22, 2009, 3:16:39 PM (15 years ago)
Author:
dkearney
Message:

updating the objects code and adding some more examples describing how i want developers to use the objects. some of the objects don't work yet, like the tree, anything with an example should work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/objects/plot/plot.cc

    r1397 r1528  
    4141    std::printf("curveCnt = %zu\n",curveCnt);
    4242
     43    std::printf("xml: %s\n",p1->xml());
     44
     45/*
    4346    // retrieve curve from curve name
    4447    // may want to add curve to another plot
     
    5154    size_t ylen = 0;
    5255
    53     xlen = c->data(Rappture::Plot::xaxis,&ax);
    54     ylen = c->data(Rappture::Plot::yaxis,&ay);
     56    xlen = c->data(Rappture::Curve::xaxis,&ax);
     57    ylen = c->data(Rappture::Curve::yaxis,&ay);
    5558
    5659    std::printf("xlen = %zu\nylen = %zu\n",xlen,ylen);
    57     std::printf("fmt = %s\n",c->propstr(Rappture::Plot::format,NULL));
     60    std::printf("fmt = %s\n",c->propstr(Rappture::Curve::format,NULL));
    5861
    5962    if (   (ax != NULL)
     
    6366        }
    6467    }
     68*/
    6569
    6670    delete p1;
Note: See TracChangeset for help on using the changeset viewer.