Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Gnuplot interactive function plotter > Re: epslatex cl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 9 Topic 3348 of 3630
Post > Topic >>

Re: epslatex clustered histogram fills and patterns

by merritt@[EMAIL PROTECTED] (Ethan Merritt) Jun 9, 2008 at 03:30 PM

In article
<03659b74-7bc3-47ca-8dba-028721b3004e@[EMAIL PROTECTED]
>,
 <tdwatson@[EMAIL PROTECTED]
> wrote:
>>
>>
>> =A0<tdwat...@[EMAIL PROTECTED]
> wrote:
>> >Thanks so much for the reply. I have opened the eps and unfortunately
>> >it too seems to be not what I am expecting.

Really?  So you are saying that the gnuplot script works for PNG output
but not for eps output?

>Thanks Ethan. I seem to have pinned down the issue a little bit. To
>sidestep anything that might be a problem on my Mac I am testing under
>Ubuntu for the time being.
>
>If I plot the data file
>
>Jan 1 1
>Feb 2 2
>Mar 3 3
>
>all is fine (a total of 6 columns appear), but if I plot the data file
>
>Jan 1 1
>Feb 2 2
>Mar 3 3
>Apr 4 4
>May 5 5
>
>I still get six columns. Note that these are not the same. If I can
>attempt to translate into text I get:
>|           x  x
>|       x   x  x
>|    x  x   x  x
>|xx x   x  x  x
>+--------------------------
>
>so in other words I get both columns for "Jan" but only the data for
>column 2 for the other months... I am at a loss to explain this,
>because all appears fine if I output to a png terminal.

To output to ascii, use "set term dumb".
But I just tried it, and your script + data file works as expected -
no problems (except for the missing 'set yrange [0:*]'.

gnuplot> load 'bug.gp'

6 ++--------+-----------+-----------+-----------+-----------+----------++
  |         +           +           +           +           +J,K|       |
  |                                                         J, K|       |
5 ++                                                       +-+| |      ++
  |                                                        | || |       |
  |                                                        | || |       |
4 ++                                           +-++-+      | || |      ++
  |                                            | || |      | || |       |
  |                                            | || |      | || |       |
  |                                            | || |      | || |       |
3 ++                               +-++-+      | || |      | || |      ++
  |                                | || |      | || |      | || |       |
  |                                | || |      | || |      | || |       |
2 ++                   +-++-+      | || |      | || |      | || |      ++
  |                    | || |      | || |      | || |      | || |       |
  |                    | || |      | || |      | || |      | || |       |
1 ++       +-++-+      | || |      | || |      | || |      | || |      ++
  |        | || |      | || |      | || |      | || |      | || |       |
  |        |+|| |      |+|| |      |+|| |      |+|| |      |+|| |       |
0 ++--------+-----------+-----------+-----------+-----------+----------++
           Jan         Feb         Mar         Apr         May
                                  Month


>It could be that I am doing something really stupid here with how I am
>using gnuplot. So, just to check, what I am doing is loading gnuplot
>and then issuing the command load 'monthlytest.plot'.
>
>At the risk of seeming greedy, do you have any more ideas?

Your script works here, and if I understand right it works for you
also in PNG, but not in latex. Since the plot layout in gnuplot is done
in core routines that are shared by all terminal drivers, if it works
in PNG and dumb it should work in all other terminal types as well.
So I guess I have to speculate about a latex problem.  Are you sure that
your
latex do***ent isn't continuing to use an old, incorrect, version of the
eps file even after you create a newer, correct one in gnuplot?
Maybe it's a viewer problem - have you tried actually printing your
do***ent rather than using a screen viewer?
-- 
Ethan A Merritt
 




 9 Posts in Topic:
epslatex clustered histogram fills and patterns
tdwatson@[EMAIL PROTECTED  2008-06-08 10:19:32 
Re: epslatex clustered histogram fills and patterns
merritt@[EMAIL PROTECTED]  2008-06-08 10:45:43 
Re: epslatex clustered histogram fills and patterns
tdwatson@[EMAIL PROTECTED  2008-06-09 05:39:30 
Re: epslatex clustered histogram fills and patterns
merritt@[EMAIL PROTECTED]  2008-06-09 08:30:13 
Re: epslatex clustered histogram fills and patterns
tdwatson@[EMAIL PROTECTED  2008-06-09 13:44:18 
Re: epslatex clustered histogram fills and patterns
merritt@[EMAIL PROTECTED]  2008-06-09 15:30:10 
Re: epslatex clustered histogram fills and patterns
Dan Hatton <vi5u0-gnup  2008-06-11 11:13:13 
Re: epslatex clustered histogram fills and patterns
tdwatson@[EMAIL PROTECTED  2008-06-10 09:38:30 
Re: epslatex clustered histogram fills and patterns
merritt@[EMAIL PROTECTED]  2008-06-10 10:10:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:34:39 CST 2008.