[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ePiX-users] Axis ticks width
From: |
Andrew D. Hwang |
Subject: |
Re: [ePiX-users] Axis ticks width |
Date: |
Mon, 22 Sep 2008 18:51:19 -0400 (EDT) |
On Mon, 22 Sep 2008, Cristóvão Sousa wrote:
> How can I change the plot axis ticks width? I'm not asking the length,
> which is using tick_size(). I tried pen() before bottom_axis() but it
> changes axis line only.
>
Hi Cristóvão,
The tick width is currently hard-coded to 0.5pt. While it's not difficult
to add a command to change this parameter, I'm a little wary of making the
line width of ticks easy to change.
Would you be happy making a global change, or do you want to be able to
modify the tick width?
If a global change is enough, it's probably best to modify lines 530 and
533 of the file format.cc,
obuf << __epix_rule(0.5, 2*sz.tick_size());
obuf << __epix_rule(2*sz.tick_size(), 0.5);
changing "0.5" to the desired line width in pt. Then build and install the
library as usual. Of course, you'll have to make this modification with
each new release, but I expect the number of Version 1.2 releases to be
very small. :)
Best,
Andy
Andrew D. Hwang address@hidden
Department of Math and CS http://mathcs.holycross.edu/~ahwang
College of the Holy Cross (508) 793-2458 (Office: Swords 339)
Worcester, MA, 01610-2395 (508) 793-3530 (fax)
- [ePiX-users] Axis ticks width, Cristóvão Sousa, 2008/09/22
- Re: [ePiX-users] Axis ticks width,
Andrew D. Hwang <=
- Re: [ePiX-users] Axis ticks width, Cristóvão Sousa, 2008/09/23
- [ePiX-users] File ploting, Cristóvão Sousa, 2008/09/23
- Re: [ePiX-users] File ploting, Andrew D. Hwang, 2008/09/23
- Re: [ePiX-users] File ploting, Cristóvão Sousa, 2008/09/24
- Re: [ePiX-users] File ploting, Cristóvão Sousa, 2008/09/25
- Re: [ePiX-users] File ploting, Andrew D. Hwang, 2008/09/25
- Re: [ePiX-users] File ploting, Cristóvão Sousa, 2008/09/25