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 3 of 9 Topic 3348 of 3630
Post > Topic >>

Re: epslatex clustered histogram fills and patterns

by tdwatson@[EMAIL PROTECTED] Jun 9, 2008 at 05:39 AM

On 8 Jun, 18:45, merr...@[EMAIL PROTECTED]
 (Ethan Merritt) wrote:
> In article
<dfbd22c1-398d-4f24-aebb-7b05027fe...@[EMAIL PROTECTED]
>,
>
> =A0<tdwat...@[EMAIL PROTECTED]
> wrote:
> >Dear All,
>
> >I am having a bit of a problem with epslatex and a clustered
> >histogram. I have included a minimal example of my code at the end of
> >this post. If I use aquaterm for this I get a the clustered bars in
> >different shades just fine. However, in the epslatex terminal I only
> >get the first bar of each cluster shaded (the others appear invisible
> >when I compile my LaTeX do***ent). I have tried with patterns and
> >variations on calling the epslatex terminal and get the same result.
> >Clearly, I must be doing something wrong, but I'm not sure exactly
> >what. Perhaps someone could point me in the right direction as copious
>
> Your script works fine here in both version 4.2.3 and current cvs.
> Have you tried viewing the *.eps file by itself? =A0If that looks ok,
> then it is the latex processing or viewer that is causing a problem.
>
>
>
> >Toby.
>
> >#set terminal aqua
> >set terminal epslatex
> >set output "monthly.tex"
>
> >set boxwidth 0.9 relative
> >set style data histograms
> >set style histogram clustered
> >set xlabel "Month"
>
> >plot =A0 =A0 =A0 =A0'monthly.dat' using 2 fs solid 0.33 lt-1,\
> > =A0 =A0 =A0 =A0 =A0 =A0'' using 3:xticlabels(1) fs solid 0.66 lt-1
>
> >PS - if it is relevant I am using the graphicx and xcolor packages in
> >my LaTeX do***ent.
>
> --
> Ethan A Merritt

Dear Ethan,

Thanks so much for the reply. I have opened the eps and unfortunately
it too seems to be not what I am expecting. To get a better idea I
have simplified things further and provided a data file below. What
happens is that only some columns are plotted.

I am now really at a loss as to why this is and I'm going round in
circles a bit! Any further ideas very much appreciated.

Best wishes,

Toby.

PS - I am using gnuplot v 4.2 patchlevel 3 on Mac OS X if that helps.

monthlytest.plot
-----------------------
set terminal epslatex input newstyle monochrome solid blacktext
set output "monthlytest.tex"
set boxwidth 0.9 relative
set style data histograms
set style histogram clustered
set xlabel "Month"
plot 'monthlytest.dat' using 2 fs solid 0.33 lt-1, '' using 3 fs solid
0.66 lt-1

monthlytest.dat
-----------------------
Jan 1 2
Feb	2 3
Mar 3 4
Apr 4 5
 




 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:57:35 CST 2008.