Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Plot spam campaigns from text files
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dennis  
View profile  
 More options Mar 29 2012, 5:36 pm
Newsgroups: comp.graphics.apps.gnuplot
From: Dennis <dennis.spreng...@gmail.com>
Date: Thu, 29 Mar 2012 14:36:45 -0700 (PDT)
Local: Thurs, Mar 29 2012 5:36 pm
Subject: Plot spam campaigns from text files
I've just started using gnuplot, so perhaps I'm asking for the obvious
here.

I have the following script (with thanks to Gianluca):

set terminal png medium
set output "campaigns.png"
set size 12,12
set xdata time
set timefmt "%Y-%m-%d"
set xrange["2009-04-01":"2010-05-25"]
set yrange[0:12]
unset ytics
set xlabel "Day"
set ylabel "Campaign"

plot "campaign1.txt" using 2:1:($3/sqrt($3)) title "Campaign 1" with
points lw 10 pointsize variable pt 7, "campaign2.txt" using 2:1:($3/
sqrt($3)) title "Campaign 2" with points pointsize variable lw 10 pt 7

# both campaign1.txt and campaign2.txt look like
1 2009-6-27 2
1 2009-6-20 5
1 2009-6-21 15
1 2009-6-22 7
1 2009-6-23 13
1 2009-12-20 3

When I run the script (1), an empty png image with only the x- and y-
axis are being created. My question is: by this information, can you
tell why the datapoints from the textfiles aren't being plotted?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.