Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Resx Builder
  • About
  • LinkedIn
  • Github

How to plot a matrix in R

February 26, 2021June 2, 2021 Bjarne

To plot a matrix in R you can convert it to an array. So you could use the rnorm() function

myPlot <- matrix(rnorm(25),5,5)
plot(c(myPlot))

Source: https://www.rdocumentation.org/packages/compositions/versions/2.0-1/topics/rnorm

Posted in TechnologyTagged R Language

About

Hey! Engineer here. This is my engineering diary. I enjoy creating things, whether that be websites, plugins, mobile apps. I'm currently playing around in an engineering department where I work on a wide variety of interesting and meaningful projects on a daily basis. You’re welcome to connect and say hey on LinkedIn. Enjoy!


  • NASA’s SPHEREx Completes the First Cosmic Rainbow Map
  • SpaceX’s Strategic Shift: Lowering the Starlink Shell
  • The Antarctic Giant: NASA’s Stratospheric Balloon Science
  • The Wisdom God Guides: Rocket Lab’s Record-Breaking Year
  • The CubeSat Revolution: Democratizing Access to Space

Copyright ©SpaceTech

Clean Theme by WPVKP