[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-685807-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-685807-en":130,"doc-similar-685807":168},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","introductory-scientific-computing-with-python-interactive-plotting-lists-and-plotting-points","Introductory Scientific Computing with Python - Interactive Plotting - Lists and Plotting Points","","Interactive plotting and basic data structures for scientific computing with Python, focusing on how to visualize functions and experimental data using Matplotlib. The material guides through plotting points with labeled axes, customizing markers and line styles, and using Python lists to represent paired x and y sequences. Examples include creating time and distance lists, clearing figures, and plotting them with different visual options, supported by a structured outline and step-by-step outputs.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/introductory-scientific-computing-with-python-interactive-plotting-lists-and-plotting-points/685807/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/introductory-scientific-computing-with-python-interactive-plotting-lists-and-plotting-points/685807.png","ImageObject",300,407,{"name":42,"@type":43},"4398046744996","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Why plot f(x) in scientific computing?","Question",{"text":62,"@type":63},"The notes distinguish between plotting analytical functions and plotting experimental data so you can visualize relationships between variables.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How do you plot points using Python and Matplotlib?",{"text":67,"@type":63},"Create x and y data arrays, then call plot with a marker style such as 'o' to display discrete plotting points.",{"name":69,"@type":60,"acceptedAnswer":70},"How are lists used for x and y data?",{"text":71,"@type":63},"The examples build lists like time = [0, 1, 2, 3] and distance = [7, 11, 15, 19], treating them as x and y inputs to plot.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},685807,1794018712,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":101,"preview_urls":144},4398046744996,"Introductory Scientiﬁc Computing with Python  \nMore plotting, lists and numpy arrays  \nFOSSEE  \nDepartment of Aerospace Engineering IIT Bombay  \nSciPy India, 2015 December, 2015  \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  1 / 54   \nOutline  \n1 Plotting Points  \n2 Lists  \n3 Simple Pendulum  \n numpy arrays  \n4 Summary  \nFOSSEE (FOSSEE – IITB)  Interactive Plotting  2 / 54   \nPlotting Points  \nOutline  \n1 Plotting Points  \n2 Lists  \n3 Simple Pendulum  \n numpy arrays  \n4 Summary  \nFOSSEE (FOSSEE – IITB)  Interactive Plotting  3 / 54   \nPlotting Points  \nWhy would I plot f(x)?  \nDo we plot analytical functions or experimental data?  \nIn []: time = [0 . , 1 . , 2, 3]  \nIn []: distance = [7 . , 11, 15, 19]  \nIn []: plot(time,distance)  \nOut[]: [\u003Cmatplotlib .lines .Line2D object at 0xa73a  \nIn []: xlabel( 'time ' )  \nOut[]: \u003Cmatplotlib .text .Text object at 0x986e9ac>  \nIn []: ylabel( 'distance ' )  \nOut[]: \u003Cmatplotlib .text .Text object at 0x98746ec>  \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  4 / 54   \nPlotting Points  \nIs this what you have?      \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  5 / 54   \nPlotting Points  \nPlotting points  \nWhat if we want to plot the points?  \nIn []: clf()  \nIn []: plot(time, distance, 'o ' )  \nOut[]: [\u003Cmatplotlib .lines .Line2D object  \nIn []: clf()  \nIn []: plot(time, distance, ' . ' )  \nOut[]: [\u003Cmatplotlib .lines .Line2D object  \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  6 / 54   \nPlotting Points  \nFOSSEE (FOSSEE – IITB)  Interactive Plotting  7 / 54   \nPlotting Points  \nAdditional Line Styles  \n'o ' -Filled circles  ' . ' -Small Dots  \n '- ' -Lines  \n '-- ' -Dashed lines  \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  8 / 54   \nLists  \nOutline  \n1 Plotting Points  \n2 Lists  \n3 Simple Pendulum  \n numpy arrays  \n4 Summary  \nFOSSEE (FOSSEE – IITB)  Interactive Plotting  9 / 54   \nLists  \nLists: Introduction  \nIn []: time = [0, 1, 2, 3]  \nIn []: distance = [7, 11, 15, 19] What are x and y?  \nlists!!  \n FOSSEE (FOSSEE – IITB)  Interactive Plotting  10 / 54","cbCaiiowDCPTyGrE","https://ap.wps.com/l/cbCaiiowDCPTyGrE","pdf",264171,54,"English","# Outline\n## Plotting Points\n## Lists\n## Simple Pendulum\n## numpy arrays\n## Summary","[{\"question\":\"Why plot f(x) in scientific computing?\",\"answer\":\"The notes distinguish between plotting analytical functions and plotting experimental data so you can visualize relationships between variables.\"},{\"question\":\"How do you plot points using Python and Matplotlib?\",\"answer\":\"Create x and y data arrays, then call plot with a marker style such as 'o' to display discrete plotting points.\"},{\"question\":\"How are lists used for x and y data?\",\"answer\":\"The examples build lists like time = [0, 1, 2, 3] and distance = [7, 11, 15, 19], treating them as x and y inputs to plot.\"}]","Introductory Scientific Computing with Python - Interactive Plotting - Lists and Plotting Points | PDF",136,[145,149,153,157,161,164],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4e848bd0bd3df6a1b71272d3bf6ce053.webp",983,737,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f79399bb628bd608eea04a51536f4dd8.webp",982,736,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/739351ce9a06b085f3b7319fa51bc1c1.webp",981,735,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/15fa71fa808e13a9927a10ecec6b9a90.webp",980,734,{"page_no":96,"url":162,"width":163,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/90acfee4523c3a955d79167411be99b7.webp",979,{"page_no":101,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0778f98aea39729a516946fddc89e861.webp",978,733,{"list":169,"token":11},[170,176,182,188,194,200,206,213,220,226],{"doc_id":171,"doc_title":172,"file_type":136,"home_preview_img_url":173,"slug":174,"view_count":105,"category_name":29,"create_tm":175},685773,"Lists and Tuples - Chapter 7 - Programming Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000203784/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kx6s1pNU36hyyYlAEUNFYt5aGXc%3D","lists-and-tuples-chapter-7-programming-concepts",1794018219,{"doc_id":177,"doc_title":178,"file_type":136,"home_preview_img_url":179,"slug":180,"view_count":110,"category_name":29,"create_tm":181},692232,"A Student’s Guide to Python for Physical Modeling - Second Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002688785/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=e%2FjwqJsZi1nLDXqvitAilT5bdqA%3D","a-students-guide-to-python-for-physical-modeling-second-edition",1794186384,{"doc_id":183,"doc_title":184,"file_type":136,"home_preview_img_url":185,"slug":186,"view_count":115,"category_name":29,"create_tm":187},673416,"Python for Data Analysis - Third Edition - A Definitive Handbook for Data Wrangling with pandas, NumPy & Jupyter","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990565439/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=LQ%2FjG%2FifQdPMEmiqqO9iIs457jk%3D","python-for-data-analysis-third-edition-a-definitive-handbook-for-data-wrangling-with-pandas-numpy-jupyter",1793635175,{"doc_id":189,"doc_title":190,"file_type":136,"home_preview_img_url":191,"slug":192,"view_count":33,"category_name":29,"create_tm":193},689106,"Matplotlib - Release 2.1.0 - User's Guide Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001510727/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Zhsr8axg3C0KN4Bo99WiTirsQzo%3D","matplotlib-release-210-users-guide-introduction",1794096420,{"doc_id":195,"doc_title":196,"file_type":136,"home_preview_img_url":197,"slug":198,"view_count":101,"category_name":29,"create_tm":199},682650,"Matplotlib - Release 3.11.2 - Documentation and Installation Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999675034/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=lppU%2BkKbrqo77NMibS9YM2Z3Xfw%3D","matplotlib-release-3112-documentation-and-installation-guide",1793977317,{"doc_id":201,"doc_title":202,"file_type":136,"home_preview_img_url":203,"slug":204,"view_count":101,"category_name":29,"create_tm":205},634153,"COORDINATE GRIDS -6 TO 6 - coordinate grid template minus 6 to 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229969904283/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Z6F6XQxh2IeoOyzvvaIS6tCZi20%3D","coordinate-grids-6-to-6-coordinate-grid-template-minus-6-to-6",1792673349,{"doc_id":207,"doc_title":208,"file_type":136,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":29,"create_tm":212},388287,"Digital marketing implementation using python programming for ad campaign optimization and data analysis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229916268150/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=wYsDCvofWa5vohBF50k5bJjtiEI%3D","digital-marketing-implementation-using-python-programming-for-ad-campaign-optimization-and-data-analysis",13,1790299208,{"doc_id":214,"doc_title":215,"file_type":136,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":29,"create_tm":219},665406,"Help for using eduVote with PowerPoint - Windows AND Mac","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983851498/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=MRVUBi1TfX5vqX7i%2FIzQzqh8lRE%3D","help-for-using-eduvote-with-powerpoint-windows-and-mac",12,1793302644,{"doc_id":221,"doc_title":222,"file_type":136,"home_preview_img_url":223,"slug":224,"view_count":123,"category_name":29,"create_tm":225},648062,"Principles of Drawings - Tekla Structures Basic Training - Chapter 10","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972334133/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=KipN90MNvzndr4m4UXjtudDYoFQ%3D","principles-of-drawings-tekla-structures-basic-training-chapter-10",1792792063,{"doc_id":227,"doc_title":228,"file_type":136,"home_preview_img_url":229,"slug":230,"view_count":96,"category_name":29,"create_tm":231},685805,"Numpy - Array - Chapter 11 - Informatics Practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000213217/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=MsUTzd4hALUdgSJpWZyFJueRWUU%3D","numpy-array-chapter-11-informatics-practices",1794018711]