Bug 7986 - Graphics: log="x" plot
Summary: Graphics: log="x" plot
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Wishlist (show other bugs)
Version: old
Hardware: All Linux-Fedora
: P5 normal
Assignee: Jitterbug compatibility account
Depends on:
Reported: 2005-07-04 04:12 UTC by Jitterbug compatibility account
Modified: 2005-07-04 04:12 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jitterbug compatibility account 2005-07-04 04:12:39 UTC
From: jincaijiang@yahoo.com
Full_Name: Jincai Jiang
Version: 2.1.1
OS: Red Hat 7/8/9, Windows XP
Submission from: (NULL) (

when plot in log="x", and the data has a point with negative x such as
(-1,10000), and when the y for this x is the max of all y's in the data set, the
y scale looks wrong.


The data point (-1,100000), not just the x value of it, should be discarded.

Comment on gsub() and sub():

it is illogical to use \ to escape another \ which is for escaping other
characters such as gsub('\\([sS]\\),'\\1', a, extended=F). It should only use \
to escape \ which is literal backslash. Also it should default to extended=F.
The above gsub() should read: gsub('\([sS\)','\1', a).

Thank you all for the great work!


Comment 1 Jitterbug compatibility account 2005-07-05 22:14:00 UTC
 Neither suggestion is a bug.
Comment 2 Jitterbug compatibility account 2005-07-06 00:14:06 UTC
Audit (from Jitterbug):
Tue Jul  5 19:14:06 2005	dmurdoch	changed notes
Tue Jul  5 19:14:06 2005	dmurdoch	moved from incoming to wishlist