Feature Requests: Browse | Submit New | Admin

[#28882] making ctioga minor tick appear regardless of yrange

Date:
2011-01-27 19:42
Priority:
3
Submitted By:
Anand Thirumalai (anand_t2002)
Assigned To:
Vincent Fourmond (fourmond)
Category:
Interface Improvements (example)
State:
Open
Summary:
making ctioga minor tick appear regardless of yrange

Detailed description
Dear community members,

I have encountered a strange situation; perhaps it is only strange for beginners like me, nevertheless, here is the
problem in a nutshell:

I have a yaxis that is logarithmic with range spanning more than 10 orders of magnitude (--yrange -13:1)

And what happens is that the minor tick marks disappear. When I decrease the yrange to less than 10 orders of magnitude
the minor tick reappear.

Would someone know how to change this default?

I would be very grateful if someone could get back to me at the earliest possible; I am am submit a paper next week
and the plot that I am working on would be a part of this paper!

Many thanks in advance!

Best regards,
Anand Thirumalai 

Add A Comment: Notepad

Please login


Followup

Message
Date: 2011-01-30 00:36
Sender: Anand Thirumalai

Thank you very much Vincent! The patch works like a charm! I
doubt if I would
have been able to achieve the same result even using tioga by
itself!

The plot looks very nice now; I shall send you a DOI once the
paper is published!

Best wishes,
Anand
Date: 2011-01-29 14:00
Sender: Vincent Fourmond

Final comment: I have commited a modified version of the patch
to SVN. While the patch posted here works as is for you, the
version in SVN requires that you use the following snippet in
your $HOME/.ctiogarc

def ctioga_init(t)
  t.log_minor_ticks_limit = 20
end

Cheers, and have fun !
Date: 2011-01-29 13:46
Sender: Vincent Fourmond

There you are:

I don't know how you installed Tioga in the first place; if that's
using the Debian package or rubygems, that will require some
few tricks. If not, please use the attached patch on the directory
where Tioga is unpacked:

patch -p1 < log-ticks.diff

Then compile and install Tioga as usual. This patch will be included
(almost as is) in the next Tioga release.

As a side note, I'd suggest you switch to ctioga2 as soon as
I release a new version: it now has much more features than ctioga
and is much more fun to develop/easier to extend.
Date: 2011-01-29 13:25
Sender: Vincent Fourmond

Hmmm... That's a complex problem...

I have tried a few things, but I think the only way to do that
for now with ctioga is to modify Tioga. I'll do that over the
next hour, and I'll post a patch here.

Are you familiar with patches ?

In any case, good luck with your paper, and I'd be grateful if
you sent me its DOI when you're done, I'd like to setup a list
of papers using ctioga.

Attached Files:

Name Description Download
log-ticks.diff Download

Changes:

Field Old Value Date By
File Added5071: log-ticks.diff2011-01-29 13:46fourmond
assigned_tonone2011-01-27 19:44anand_t2002