Welcome to Code Sharer, a code gallery for creating, saving and sharing all kinds of code snippets.

Snips Tagged "Graph" 2 results found

Plotting a basic graph in R from a ASCII file R 805
Author: Ryan Bradley-Evans (Admin) Posted On: Sunday, November 2, 2014 at 5:01 AM

test.dat is the name of the ASCII saved in the working directory.

common graph types are; "p" for points, "l" for lines, "b" for both, "c" for the lines part alone of "b", "o" for both ?overplotted?, "h" for ?histogram? like (or ?high-density?) vertical lines, "s" for stair steps, "n" for no plotting.

Save a graph as a pdf R 329
Author: Ryan Bradley-Evans (Admin) Posted On: Wednesday, December 14, 2016 at 7:46 AM

Insert you functions/datasets for X and Y after X<- and Y<- respectively