|
From: Morteza J. <jal...@gm...> - 2012-09-04 22:05:10
|
Hi 1. plot [-1:1] [-1:1] NaN notitle In case you just want the object. But you have to specify at least the yrange manually so change the second '-1:1' to anything that covers your object. You can change first '-1:1' to ':' or any range that covers your object. 2. unset border unset tic 3. Use 'set output "[filename].png"' after 'set terminal' and before 'plot'. It should be in your current working directory (directory where you executed gnuplot). You can specify directory in the filename too. On Tue, Sep 4, 2012 at 8:25 PM, Sarah Lemaire <sle...@ve...> wrote: > I'm sure these questions are easy, but I'm brand new to gnuplot, and the > documentation/demos/examples are not helpful. I ordered the book, but it > won't arrive for another two days. > > > 1. I want to draw polygons on a graph using the vertex coordinates. > The set object command is easy, but I can't figure out how to create a > simple plot that just contains both polygons. If I enter > > plot [1:5] x > > I get a red line going through the graph. What is the best command for > simply plotting the polygons I've defined using set object? > > > 2. Can I create a plot with no axes at all? Ideally, I would like > just my polygons in the image. > > > 3. I would like to generate .png files. Supposely I can use > > set terminal png > plot ... > > And that creates a file output.png someplace, but I searched for that > file, and it doesn't exist. How do I create that file? > > Thanks in advance for your help, > > Sarah > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |