Skip to main content

Thread: Plotting 2 columns from 2 datesets in QtOctave via programming


i use qtoctave plotting. have 2 datasets in .txt format , plot them in order compare values of them respect column2 in 1 2d coordinate system. in particular, want plot values in column 5 (set y-axis values) taking values , column 1 (set x-axis values) respectively dataset , b. dataset looks below(a few lines of them):

code:
%time,field.header.seq,field.header.stamp,field.header.frame_id,field.pose.position.x,field.pose.position.y,field.pose.position.z,field.pose.orientation.x,field.pose.orientation.y,field.pose.orientation.z,field.pose.orientation.w 175447000000,5,175447000000,pose,431733.858174,5639759.55765,13.464,0.0419218838249,-0.0300052587638,-0.184327537836,0.981511894425 175467000000,6,175467000000,pose,431733.858174,5639759.55765,13.464,0.0419218838249,-0.0300052587638,-0.184327537836,0.981511894425 175501000000,7,175501000000,pose,431733.858174,5639759.55765,13.464,0.0419218838249,-0.0300052587638,-0.184327537836,0.981511894425 175548000000,8,175548000000,pose,431733.858174,5639759.55765,13.533,0.0449266786318,-0.0775877847456,-0.187770087923,0.978112530994 175567000000,9,175567000000,pose,431733.858174,5639759.55765,13.533,0.0449266786318,-0.0775877847456,-0.187770087923,0.978112530994 175597000000,10,175597000000,pose,431733.858174,5639759.55765,13.533,0.0449266786318,-0.0775877847456,-0.187770087923,0.978112530994 175621000000,11,175621000000,pose,431733.858174,5639759.55765,13.533,0.0449266786318,-0.0775877847456,-0.187770087923,0.978112530994
i know can copy , paste value using gui-based plotting, but, since have lots of datasets treat better if knows code in qtoctave read 2 columns (one each dataset), , then, plot it.

in advance.



Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Plotting 2 columns from 2 datesets in QtOctave via programming


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account