SlideShare a Scribd company logo
1 of 7
SED + GNUPLOT



  HERRAMIENTAS DE COMPUTO

       Dra. Elisa Shaeffer

Jorge Christopher Garza Sepúlveda

       PISIS / FIME / UANL
Código de SED en BASH

#!/bin/bash -f
sed 's/.1.{1,}/.1/g'<datos.dat|sed 's/.2.{1,}/.2/
  g'|sed 's/.3.{1,}/.3/g'|sed 's/.4.{1,}/.4/g'|sed
  's/.5.{1,}/.5/g'|sed 's/.6.{1,}/.6/g'|sed 's/.7.
  {1,}/.7/g'|sed 's/.8.{1,}/.8/g'|sed 's/.9.
  {1,}/.9/g'|sed 's/.0.{1,}/.0/g'>datos.out
gnuplot chart.plot
echo "Listo"
Código de GNUPLOT
Reset

set key at graph 0.24, 0.85 horizontal samplen 0.1

set style data histogram

set style histogram cluster gap 1

set style fill solid border -1

set boxwidth 0.8

set xtic rotate by 90 scale 0

unset ytics

set y2tics rotate by 90

set yrange [0:1]; set xrange [-2:20]

set y2label 'RESULT'

set label 1 'EXPERIMENT' at graph 0.5, -0.1 centre rotate by 180

set term svg # Create an SVG image

set output 'file.svg'

p 'datos.out' u 2 title ' ', '' u ($2/2.0+rand(0)/10.0) title ' ', '' u 0:(0):xticlabel(1) w l title ''
BIBLIOGRAFÍA

http://gnuplot.sourceforge.net/demo/
http://www.phyast.pitt.edu/~zov1/gnuplot/html/hist
  ogram.html

More Related Content

More from Jorge Sepúlveda

USANA presentación de Producto y Negocios
USANA presentación de Producto y NegociosUSANA presentación de Producto y Negocios
USANA presentación de Producto y NegociosJorge Sepúlveda
 
Diseño 5-4 Douglas Montgomery
Diseño 5-4 Douglas MontgomeryDiseño 5-4 Douglas Montgomery
Diseño 5-4 Douglas MontgomeryJorge Sepúlveda
 
Herramientas de cómputo - Octave
Herramientas de cómputo - OctaveHerramientas de cómputo - Octave
Herramientas de cómputo - OctaveJorge Sepúlveda
 
[Exposicion] modelos probabilísticos aplicados
[Exposicion]   modelos probabilísticos aplicados[Exposicion]   modelos probabilísticos aplicados
[Exposicion] modelos probabilísticos aplicadosJorge Sepúlveda
 
Herramientas de cómputo - R
Herramientas de cómputo - RHerramientas de cómputo - R
Herramientas de cómputo - RJorge Sepúlveda
 
Herramientas de cómputo python
Herramientas de cómputo pythonHerramientas de cómputo python
Herramientas de cómputo pythonJorge Sepúlveda
 
Herramientas de cómputo sed+gnuplot
Herramientas de cómputo sed+gnuplotHerramientas de cómputo sed+gnuplot
Herramientas de cómputo sed+gnuplotJorge Sepúlveda
 
Presentacion de Herramientas de Cómputo - Uso de AWK
Presentacion de Herramientas de Cómputo - Uso de AWKPresentacion de Herramientas de Cómputo - Uso de AWK
Presentacion de Herramientas de Cómputo - Uso de AWKJorge Sepúlveda
 
Comicas 10-diapositivas - to www.Nolachihnges.info
Comicas 10-diapositivas - to www.Nolachihnges.infoComicas 10-diapositivas - to www.Nolachihnges.info
Comicas 10-diapositivas - to www.Nolachihnges.infoJorge Sepúlveda
 

More from Jorge Sepúlveda (12)

USANA presentación de Producto y Negocios
USANA presentación de Producto y NegociosUSANA presentación de Producto y Negocios
USANA presentación de Producto y Negocios
 
健康自自由
健康自自由健康自自由
健康自自由
 
Diseño 5-4 Douglas Montgomery
Diseño 5-4 Douglas MontgomeryDiseño 5-4 Douglas Montgomery
Diseño 5-4 Douglas Montgomery
 
Herramientas de cómputo - Octave
Herramientas de cómputo - OctaveHerramientas de cómputo - Octave
Herramientas de cómputo - Octave
 
[Exposicion] modelos probabilísticos aplicados
[Exposicion]   modelos probabilísticos aplicados[Exposicion]   modelos probabilísticos aplicados
[Exposicion] modelos probabilísticos aplicados
 
Herramientas de cómputo - R
Herramientas de cómputo - RHerramientas de cómputo - R
Herramientas de cómputo - R
 
Herramientas de cómputo python
Herramientas de cómputo pythonHerramientas de cómputo python
Herramientas de cómputo python
 
Herramientas de cómputo sed+gnuplot
Herramientas de cómputo sed+gnuplotHerramientas de cómputo sed+gnuplot
Herramientas de cómputo sed+gnuplot
 
Presentacion de Herramientas de Cómputo - Uso de AWK
Presentacion de Herramientas de Cómputo - Uso de AWKPresentacion de Herramientas de Cómputo - Uso de AWK
Presentacion de Herramientas de Cómputo - Uso de AWK
 
Herramientas de Computo
Herramientas de ComputoHerramientas de Computo
Herramientas de Computo
 
Herramientas de cómputo
Herramientas de cómputoHerramientas de cómputo
Herramientas de cómputo
 
Comicas 10-diapositivas - to www.Nolachihnges.info
Comicas 10-diapositivas - to www.Nolachihnges.infoComicas 10-diapositivas - to www.Nolachihnges.info
Comicas 10-diapositivas - to www.Nolachihnges.info
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 

Presentacion

  • 1. SED + GNUPLOT HERRAMIENTAS DE COMPUTO Dra. Elisa Shaeffer Jorge Christopher Garza Sepúlveda PISIS / FIME / UANL
  • 2.
  • 3. Código de SED en BASH #!/bin/bash -f sed 's/.1.{1,}/.1/g'<datos.dat|sed 's/.2.{1,}/.2/ g'|sed 's/.3.{1,}/.3/g'|sed 's/.4.{1,}/.4/g'|sed 's/.5.{1,}/.5/g'|sed 's/.6.{1,}/.6/g'|sed 's/.7. {1,}/.7/g'|sed 's/.8.{1,}/.8/g'|sed 's/.9. {1,}/.9/g'|sed 's/.0.{1,}/.0/g'>datos.out gnuplot chart.plot echo "Listo"
  • 4.
  • 5. Código de GNUPLOT Reset set key at graph 0.24, 0.85 horizontal samplen 0.1 set style data histogram set style histogram cluster gap 1 set style fill solid border -1 set boxwidth 0.8 set xtic rotate by 90 scale 0 unset ytics set y2tics rotate by 90 set yrange [0:1]; set xrange [-2:20] set y2label 'RESULT' set label 1 'EXPERIMENT' at graph 0.5, -0.1 centre rotate by 180 set term svg # Create an SVG image set output 'file.svg' p 'datos.out' u 2 title ' ', '' u ($2/2.0+rand(0)/10.0) title ' ', '' u 0:(0):xticlabel(1) w l title ''
  • 6.