post your best R/mathematica/matlab/python graphs
bumpity
ruuuududuuuuuu
come on lads
No titles or units on graphs. Disgusting
>>8770105
kill yourself, this is about data visualization, not about finshed products
some number sequence relations
what do you guys use for viewing those graphs? anyone know a free program that can do this?
>>8770154
Yes, R, mathematica, matlab, and python can all do this well.
What exactly are you looking for? If you already have a bunch of data already made, matlab would be overkill but still a great way to do it. Mathematica would be just annoying to do, and python would be great if you already had code made for it.
>>8770154
free: R, package: ggplots2
Python package matplotlib
non free: matlab, mathematica. but your university may give them to you for free
like your previous responder said, depending on what you have in terms of data I can recommend you a software
>>8770197
i like graphs, I like to use them to understand concepts that I'm dealing with in mathematics, it helps visualize some things
could I use python to view composite functions and other non-basic stuff? you know a good library that can do that? It would be great if there were libraries that let you graph integrals, for example. I mean, anything more advanced than the usual math shit that comes in programming language standard libraries (abs, trig, etc).
>>8770124
you reek of autism
>>8770205
I want to learn classical mechanics, optics and re-learn linear algebra and calculus for a 3d computer graphics course, I want to have a good tool for plotting functions and data that I can use to understand some shit more easily by looking at visual patterns
>>8770207
>could I use python to view composite functions and other non-basic stuff? you know a good library that can do that?
numpy and mathplotlib should do it I guess
>>8770215
for that pure mathematical purpose without a doubt mathematica is the best. It is the most equip at visualizations outside a statistical framework.
example: https://www.raspberrypi.org/blog/give-us-your-best-mathematica-one-liner/
https://www.quora.com/What-is-the-coolest-thing-you-can-do-with-Mathematica
>>8770207
Graphing composite functions would be best on Matlab/Mathematica (both are equal in this case). Python would be fine but you'd have to find those libraries on your own since I don't know them. Based on what I had to do, numpy and matplotlib worked fine.
Also desmos.com/calculator is useful as well for easier functions.
>>8770215
Based on that, I'd recommend either pirating Matlab (2015 version) or going with python.
without a doubt R:ggplot2 is the superior statistical/data analysis visualization tool, with python+numpy+matplotlib a close 2nd
>>8770245
I see. Looks like that python combination of libraries is mentioned a lot, so I should learn it. I'll avoid R just because python is a more valuable skill than knowing R since it applies to more types of jobs, so it increases employability more IMO.
>>8770232
I wanted to avoid matlab / mathematica but I guess they're worth a pirate in case python won't do the job
>>8770231
thanks, yeah, I've seen lots of interesting shit being done with it, it's fun staring at those graphs and trying to understand the patterns that form in them even if you don't fully understand the mathematical processes that cause those graphs to be the way they are
>>8770268
yea python is also more robust than R, in my industry (quant finance) python is the main tool and R is a side tool. helps to have but wont make or break you
continuing to chart post ggplot2 stuff
this is the best one i think i have ever seen fromr
>>8770268
If you know Python, learning R is piss-easy, and Python just still can't compete with R for basic capabilities for data manipulation and exploration.
>>8770268
R is so easy even psychologists use it.
>>8770306
>no title
>>8770296
how do you get the colors to blend on the overlaps like that in ggplot?
>>8770478
contributing also. don't have much on this machine.
>>8770002
>tfw bullshitted way through scientific computing course
>got 100% on all the coursework
>>8770469
Protip: figures that get published often have no titles at all. That's what legends are for.
>>8770002
>>8770143
>>8770883
They're sooo preeeeetty
>>8770002
Possibly this. Made in R.
>>8770002
Made in R
>>8770491
Yes. My dick is so hard. So fucking hard.
>I want to fuck that trebuchet
Give me a 2D shape and I'll solve some PDEs over it.
>>8771693
how do you make it so sexy in R
I had a R economic class and made realy ugly basic graphs
>>8770154
Octave is really good. gonna sound like a shill here, but i used this on my senior thesis in math so I'm gonna say how much i like it anyway. it's a free open source scientific programming environment with 99% Matlab compatible scripts. it's basically the same as personal use Matlab with no add ons. very good, i was able to write a bunch of curve fitting software in it. I'll post some good plots in it when i finish my exams today.
>>8771760
Use dplyr to split your data, use ggplot2 for the graph, create a bar chart, put it into polar coordinates to make it a pie chart, make it a stacked pie chart by making your alpha level and your colours represent categories, use a built in automatic colour scheme, use Cairo to do the anti-aliasing and make it look smooth.
>>8771763
The problem is the fact that it doesn't have the MATLAB add ons. You're better off using an open-source language with more support in that case, like Python or R.
>>8771728
Swastika.
>>8771341
oh my
>>8771728
pentagram
>>8770491
That's actually pretty based
>>8770478
alpha = (number between 0 and 1)
>>8771760
ggplot2 dude never use the base plots unless you r a heathen
>>8770478
here is the code for that graph specifically, its on the widely known mpg data set
library(ggplot2)
theme_set(theme_classic())
# Plot
g <- ggplot(mpg, aes(cty))
g + geom_density(aes(fill=factor(cyl)), alpha=0.8) +
labs(title="Density plot",
subtitle="City Mileage Grouped by Number of cylinders",
caption="Source: mpg",
x="City Mileage",
fill="# Cylinders")
>>8772524
too lazy to add the +theme_bw() at the end, doesnt make that much of a difference, pic related
(comparing with >>8770095)
>>8772540
The difference is better contrast, better performance in print. Gray backgrounds are the worst kind of form over function. The only reason why people think it looks good is because it looks different and new.
The plot looks shit anyway, but that's your fault.
>>8770143
I noticed some ppl on this board want to learn python to plot things so here is the code for that pic:
http://pastebin.com/7L1vZHQu
>>8772566
>the plot looks like shit anyway
pmsl, post a plot youve made? and youre wrong, gray is just the default background for ggplot2, as stated before in the thread this is just for meandering not finished products ready to be printed in 100000 copies of a texbook
I've been considering learning mathematica. How is it in comparison to matlab?
Any love for Gnumeric?
>>8772821
Pretty cool, how'd you gather the data? Did you manually take note of it all everyday, or did you have some sort of program take the measurements daily?
>>8772834
not him but I autistically asked him the same question the other day when he made the thread and he downloads the data from his electricity provider and just gets weather data online. P cool, but have never heard of gnumeric
>>8772834
My utility company lets me download my usage as a csv. They have smart meters that are internet connected.
>>8772840
Yeah it's primarily a Linux program. They stopped releasing a Windows version several years ago. I'm glad someone remembered my thread! Here's the graph I use to keep track of my fuel economy.
>>8772855
post more, and yea that was a memorable thread
how do you keep track of city vs total miles? v v interesting
>>8772866
Total miles is the trip odometer for each fill up. I keep track of all highway miles I drive during each tank of gas, then subtract that from total miles to get city miles, then turn it into a percentage of total miles. So say 400 miles on a tank, 100 on the highway, means 75% (300) will be city.
You can all fuck off with your fancy graphs
Excel master race here
>>8771763
Octave is good shit. Octave-forge is developing a good library of functions if you miss the MathWorks stuff.
>>8773434
Looks like it came from a reference book. Nice1
>>8773104
This is dope, cellular automaton? Mind explaining some more about it?
>>8773434
hand drawn autist graphs ftw
>>8772513
you can make base plots look exactly like ggplot with about the same amount of effort, and you don't have to use the weird grammar of ggplot
i mean i still use ggplot, but it's not inherently better than base graphics. it's just that the defaults for base graphics look pretty terrible
>>8770211
You reek of genuine bullshit
>>8773587
Stay away from Octave, it's shit. If you want to learn something useful go for Python or R.
>ITT: people with skills, but without real data
Sophistry.
>>8774234
No, GNU Octave is good shit.
>>8774269
mine was based on real data
>>8774405
I hereby exclude you from my predication.
I was looking for some matlab code I wrote to simulate a Belousov–Zhabotinsky reaction but I seem to have lost the code.. So here's a bifurcation diagram instead
>>8774384
Go on wasting your time with it then.
>>8774520
Go on being a poor NEET
HOHOHOHOHOHO
SILLY RABBIT
>>8773973
Try and make a bar graph with partial transparency.
>>8775367
http://stackoverflow.com/questions/32905859/overlap-bar-charts-with-transparency
>>8775663
If you have to create your own colours instead of sticking in additional arguments for alpha, that's not too great; makes it harder to scale alpha with a variable, for instance.
>>8772576
Thank you.
not really /sci/ related
made in matlab tho
>>8778041
dis a big graph mane
>>8778050
for you