Matplotlib: A Quick Intro to a Helpful Python Data Visualization Library

Graph of a heatmap with colors ranging from pale green to dark blue to indicate density of pedestrians.
Example heatmap of pedestrian traffic generated by the author to illustrate some of Matplotlib’s capabilities.

Data is everywhere. Whether it’s to track your music listening habits, analyze stock market trends, or understand scientific research, data is most valuable when it can be easily interpreted. This is where data visualization comes in: to transform raw data into clear, engaging visuals.

The Princeton University Library has a wealth of resources and research guides, including guides tailored specifically to data visualization in programming language R and statistical software Stata (often used in economics courses). However, not as many PUL research guides are currently available on data visualization in Python. If you haven’t heard of Python before, it’s a popular programming language that can tackle a versatile range of applications, including data analysis and artificial intelligence. While Stata and R are both excellent choices for statistical analysis and visualization, Python stands out for its flexibility, interactivity, and seamless integration with web development and machine learning applications.

In this article, I wanted to present a commonly-used Python library for data visualization: Matplotlib. By learning how to use Matplotlib, you’ll be able to take your data and turn it into visuals that communicate your findings effectively—a key skill whether you are analyzing survey results, studying statistics, or working on research projects!

Continue reading Matplotlib: A Quick Intro to a Helpful Python Data Visualization Library

Simplify Your Research Poster Printing: Using Princeton’s Makerspace Large Format Printer

Photo of three students wearing black suits and smiling at the camera. Machine learning research poster in the center.
Alexis Wu (author), Jenny Pang ‘24, and Jimmy Hoang ‘24 at the COS 484: Natural Language Processing Spring 2024 poster session.

The end of the semester is often accompanied by deadlines for semester-long projects and final papers (including the infamous Dean’s Date deadline, which past correspondent Ryan Champeau has amazing advice on!). For some classes, students may be asked to create an academic or research poster and present their work to their peers in a poster session. A couple of courses I have taken where I produced a final research paper were COS 484: Natural Language Processing and ASA 238: Asian-American Psyches

In ASA 238, the department provided funding so that all students in the class could have their poster printed through Princeton Print & Mail Services. However, this option typically is not free-of-charge to students. Moreover, since this process typically takes 4-5 business days after the proof is approved to be printed, course instructors may set conservatively early deadlines so that all students’ posters may be printed on time. With more deadlines in other classes, this can create additional stress.

The great news is, this stress can be avoided with a free, straightforward alternative: utilizing the Makerspace’s Large Format Printer. The Princeton University Library (PUL) Makerspace is a creative space on the A-level of the Lewis Science Library open to current students, faculty, and staff. If you’ve never used the space before, it might be daunting, but I hope this article will clarify the process and assuage any fears you may have!

Continue reading Simplify Your Research Poster Printing: Using Princeton’s Makerspace Large Format Printer

A Quick Guide to Securing Funding

This photo shows a student working in lab with his mentor.
A student working in a lab, potentially on a research project for their senior work that would greatly benefit from funding! Photo credit: Nick Donnoli.

You’ve brainstormed a great idea for your research project. You have the details of your topic all figured out, but you need some assistance with figuring out the logistics of the financial aspects that come with your great idea.  

If that’s you, here’s a quick guide on one way of securing funding as a Princeton student! 

Continue reading A Quick Guide to Securing Funding

A Hidden Gem for Humanities Researchers: The Princeton Index of Medieval Art

Picture of a filing cabinet
The Princeton Index of Medieval Art used to be a physical register, much like this one.

Many academic disciplines engage with visual art, whether from the standpoint of art history, material culture, or even paleography. The Princeton Index of Medieval Art is a unique database well-suited to the needs of researchers across various fields. Whether history, comparative literature, art, or classics, the index gathers a vast amount of information on Late Antique and Medieval Artworks, neatly sorted in an accessible way.

Continue reading A Hidden Gem for Humanities Researchers: The Princeton Index of Medieval Art

Surf’s Up: A Guide to Internet Surfing, and other Assorted Browsing Research Skills

This image depicts a Google search of "What is research," which symbolizes the purpose of this post—i.e. figuring out how to research online.
What is research? Perhaps we can ask the Internet…

If you’re anything like me, you first thought that “research” essentially amounted to surfing the Internet. Back in the glory days of middle school, “research” meant the rewarded privilege of getting to use the laptop carts, productively using class time on googling information about our various project topics (and definitely not secretly playing games). Now, as the mature, worldly college student you now are, perhaps you think you know better. “True” academic research, the clever reader now knowingly tells themselves, is historians dusting through archival documents and scientists mixing frothy chemicals in the lab. 

Yet there’s a missing part here: a crucial element that takes us back to our elementary and middle days of excited googling. To make any significant intellectual contribution to any field, one first has to understand the current state of knowledge in that same field. To borrow the term favored by the Writing Program, we need to understand the scholarly conversation. How do we know if we’re making a contribution to something, if we don’t understand what that something is? Understanding the current state of research in a given field is a crucially important skill—really, a prerequisite—for conducting your own effective research in that field. 

Continue reading Surf’s Up: A Guide to Internet Surfing, and other Assorted Browsing Research Skills

Journeying through Statistics & Machine Learning Research: An Interview with Jake Snell

Image of Dr. Snell smiling, wearing glasses and a pale red and grey checkered collared shirt.

Jake Snell is a DataX postdoctoral researcher in the Department of Computer Science at Princeton University, where he develops novel deep learning algorithms by drawing insights from probabilistic models. He is currently serving as a lecturer for SML 310: Research Projects in Data Science.

As I dive deeper into my computer science coursework, I’ve found myself engaging increasingly with statistics and machine learning (hereafter abbreviated as SML). Opportunities to conduct SML research are abound at Princeton: senior theses, junior independent work, research-based courses such as SML 310: Research Projects in Data Science, joining research labs, and much more. There is such a wide variety of research opportunities, and so many nuanced pathways that students can take while exploring SML research. So, for this seasonal series, I wanted to speak with professors and researchers who are more advanced in their research journeys to share their insight and advice to undergraduate students.

Continue reading Journeying through Statistics & Machine Learning Research: An Interview with Jake Snell

Research Courses at Princeton

Eight students and a lab engineer are wearing white coverall suits while working in a cleanroom.
Group Photo of the AST251 students with Precision Assembly Specialist John Teifert all geared up in the cleanroom!

The structure of a “standard” Princeton course usually includes a mix of lectures, precepts, or seminars which likely have a midterm and final. While some of these courses may have “lab” components where you spend a couple hours once a week doing a hands-on assignment, there exist many courses at Princeton which are instead entirely focused on conducting hands-on, lab-based research with a small team that works closely with professors who provide mentorship as you work on an original research project. If you’ve ever wanted to take a class that is far different from anything else at Princeton by teaching you hands-on skills and giving the opportunity for a new project, these types of courses might be for you!

Some of these courses are year-long sequences like AST250 Space Physics Lab I and AST251 Space Physics Lab II, which I took during the 2022-2023 academic year. This was one of my favorite course experiences at Princeton and was certainly the most engaging. The skills we learned were invaluable, and as we worked closely with the professors and each other, our year-long project became an unforgettable experience.

Continue reading Research Courses at Princeton

Research Insights Series: An Interview with Claire F. Gmachl

Claire F. Gmachl Headshot
Claire F. Gmachl stands at the forefront of groundbreaking research in mid-infrared photonics as the Eugene Higgins Professor of Electrical Engineering at Princeton University and the Head of Whitman College. She also serves as the Associate Chair of the Department of Electrical and Computer Engineering. With her expertise in semiconductor devices and photonics, Professor Gmachl delves into the realms of quantum-cascade lasers and beyond.

As a student surrounded by peers working on their junior papers or senior theses, as well as constantly hearing about groundbreaking faculty research, I came to seek a way to better engage with the research around me, and to synthesize current research and processes to bring insights to others. I decided to create a series of research insights, interviewing faculty and students, to learn more about their research topics, their personal research process and interests, as well as the potential implications from their findings.

In this article, I’m excited to have had the opportunity to interview Professor Claire Gmachl, who has also previously taught me in EGR 151: Foundations of Engineering: Mechanics, Energy, and Waves, the first physics course in the Engineering Sequence. In our interview, Professor Gmachl graciously shared insights into her research journey, shedding light on the multifaceted landscape of mid-infrared photonics and semiconductor devices.

Continue reading Research Insights Series: An Interview with Claire F. Gmachl

Paid Part-Time Research Jobs At Princeton

Two researchers sitting at a lab desk in the Princeton Neuroscience Institute, looking at MRI brain scans on a computer.
The research you do could be remotely on a computer, in-person working in a lab, or both, as we see here with brain imaging research at the Princeton Neuroscience Institute!

Princeton undergraduate students usually gain most of their research experience from things like independent work, theses, research-based courses, or summer research. However, you might not know that there are more options to do research during the school year: working a part-time job! Some of the most common part-time campus jobs you may think of might be working in a dining hall or at library reception, but you can actually do academic research and get paid for it. This isn’t limited to just STEM majors either; part-time research jobs exist across the humanities and social sciences and are offered by a wide range of departments. You could earn money and get work experience while analyzing literature, writing code, processing data, or working hands-on in a lab!

Here’s a quick guide on how to search for these jobs:

Continue reading Paid Part-Time Research Jobs At Princeton

Applying to Summer Programs

Quincy Monday ‘23 sitting in a chair working on his laptop in the lobby of New College West
Fortunately, if you’re stressed out trying to write all of these summer program applications, Princeton has plenty of comfortable study spaces to be working, like Quincy Monday ’23 in the lobby of NCW. Photo Credits: Dan Komoda (2023)

Applying to summer programs can seem like a daunting task when you may not even know what you want to do next summer. The busyness of the semester certainly hasn’t created a ton of time to be thinking about these things! Fortunately, winter break is a great time to work on applications to summer programs, as many of the earlier applications are often due early in the year. Having prepared them beforehand can ease a lot of stress, since the middle of the spring semester isn’t the most convenient time to be starting these applications. These timelines can vary by field, so it could be a bit different based on the type of program you are applying to—the career center has a great timeline of internship recruitment that is sorted by field so you can see the differences. Regardless, it’s great to work on these during the break when you don’t have courses.

You may be looking for something far away, here in Princeton, an industry internship at a company, or a research program at a university. Regardless of if you know exactly what you want to do or still aren’t sure, here are some tips to help you sort through this process.

Continue reading Applying to Summer Programs