Python Forum
extract and plot data from a txt file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
extract and plot data from a txt file
#1
Hello,

I want to extract data from a txt file and plot it using the matplot.pyplot module.

The format of the file is as follows:

"", "V1", ..., "Vn"
"1", data1_1, ..., data1_n
...
"m", datam_1,...,datam_n
datax_y represents a data unit (integers in this case), the rest is irrelevant. My questions: how can I most elegantly extract the data line by line?
Thanks!
Reply
#2
Please:
Reply
#3
Okay sorry :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  1D plot frome 3D data layla 7 1,188 Jul-16-2023, 10:51 PM
Last Post: Pedroski55
  Training a model to identify specific SMS types and extract relevant data? lord_of_cinder 0 984 Oct-10-2022, 04:35 AM
Last Post: lord_of_cinder
  Searching Module to plot large data G_rizzle 0 1,457 Dec-06-2021, 08:00 AM
Last Post: G_rizzle
  How to extract data from paragraph using Machine Learning with python? bccsthilina 2 3,068 Jul-27-2020, 07:02 AM
Last Post: hussainmujtaba
  Not able to figure out how to create bar plot on aggregate data - Python darpInd 1 2,304 Mar-30-2020, 11:37 AM
Last Post: jefsummers
  how to extract financial data from photocopy of document angela1 6 3,704 Feb-15-2020, 05:50 PM
Last Post: jim2007
  How to extract data between two strings SriMekala 2 2,431 Aug-08-2019, 01:54 PM
Last Post: SriMekala
  How to extract different data groups from multiple CSV files using python Rafiz 3 3,261 Jun-04-2019, 05:20 PM
Last Post: jefsummers
  OpenCV - extract 1st frame out of a video file kerzol81 2 22,077 Nov-12-2018, 09:12 AM
Last Post: kerzol81
  HeatMap plot with arduino serial data tshivam 0 3,214 Oct-08-2018, 10:57 AM
Last Post: tshivam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020