Displaying 20 results from an estimated 30000 matches similar to: "Truncated x-axis values"
2020 Sep 04
4
Misleading documentation on FP to integer conversion instructions?
If fptosi takes 0.9 -> 0, then that is not 'rounding' in any sense I'm
aware of (IEEE754 or otherwise).
Rounding (in the IEE754 sense) determines how a number is converted when it
is halfway between two
candidate results. (see round(), ceil(), floor()).
fptosi seems to model the behavior of a C cast from float to int,
which truncates the fractional bits (as in trunc()).
Steve
2016 Apr 28
1
polygon angle option perpendicular to axis
Thanks for the question. Here is a sample of the code for my plot:
Top = c(34, 39, 42, 45, 46, 41, 41, 40, 43, 38, 33, 33)
Bottom = c(24, 29, 32, 36, 32, 34, 32,41, 40, 39, 29, 24)
plot(1,1, col = "white", xlim = c(1.3,11.7), ylim = c(0,80), axis = FALSE, xaxt = "n")
axis(1, at = c(1:12))
polygon(c(c(1:12),c(12:1)), c(top, bottom), col =
2020 Sep 04
3
Misleading documentation on FP to integer conversion instructions?
> On Sep 4, 2020, at 2:40 PM, Neil Nelson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>> If fptosi takes 0.9 -> 0, then that is not 'rounding' in any sense I'm aware of (IEEE754 or otherwise).
>> Rounding (in the IEE754 sense) determines how a number is converted when it is halfway between two
>> candidate results. (see round(), ceil(),
2007 Aug 01
3
"Cut marks" on a plot's y-axis to indicate it is a truncated axis
Hi,
I've plotted a Kaplan-Meier curve but the curves only range from 0.7 to
1 on the y-axis. Therefore I have used: -
ylim=c(0.7,1)
[although I think convention dictates that you plot 0.5 to 1 to show the
median? A few papers I've read have done this]??
BUT, I would like a symbol like // (but rotated 90 degrees) to indicate
that the y-axis has been truncated. I'd need to be able to
2011 Apr 15
1
How to make truncated y axis (cut mark) in R plot?
Hi friends,
Does anyone know how to make truncated y axis with cut mark (\\) in R plot? Many
thanks!
Bill
2020 Sep 04
2
Misleading documentation on FP to integer conversion instructions?
The LLVM IR reference manual states, for fptosi:
"The ‘fptosi’ instruction converts its floating-point
<http://llvm.org/docs/LangRef.html#t-floating> operand into the nearest
(rounding towards zero) signed integer value."
I interpreted this to mean that it rounds:
The nearest integer to 0.3 is 0.
The nearest integer to 0.9 is 1.
The nearest integer to 0.5 is either 0 or 1. And
2018 Sep 20
3
A different error in sample()
Good day,
The use of "rounding" also doesn't make sense. If The number is halfway between two integers, it is rounded to the nearest even integer.
> round(2.5)
[1] 2
--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia
2008 Sep 17
3
Graphical Display of Values' Distribution
Dear all,
I have a column within a dataframe of values which range between 1 and 2. I want to display graphically the distribution of these values (i.e. are they clustered towards either exteme? Or spread evenly?). What is a good way of doing this in R?
I've tried a few things, including using the 'hist' command, but receive the following error message:
> hist(urban.long[3])
2010 May 09
2
changing parameters of the box and whisker plot
Hello:
I am plotting some data using the box and whisker plot. However, I only want to plot the median, max and min, as I only have these values and not the quartile values. It seems R arbitrarily constructs the box margins to be halfway between the median and the max/min. How do I make the box and whisker plots without the box values?
Thanks,
Michael
[[alternative HTML version
2006 Apr 03
5
rails migrations - enhanced usage
Hello,
When I am writing rails migrations, quite often I make mistake in them which
causes the migration tasks to stop halfway with error.
This causes lots of problem, because it results in half of the things in
migrations changed and other half not. Also, as the schema number is changed,
so things cannot be rolled back.
Is there any way to make the entire migration action atomic, i.e.,
2010 Apr 09
4
zfs send hangs
My zfs filesystem hangs when transferring large filesystems (>500GB)
with a couple dozen snapshots between servers using zfs send/receive
with netcat. The transfer hangs about halfway through and is
unkillable, freezing all IO to the filesystem, requiring a hard
reboot. I have attempted this three times and failed every time.
On the destination server I use:
nc -l -p 8023 | zfs receive -vd sas
2010 Mar 16
3
boxplot, vertical position of x-axis labels
hello,
i can't figure out how to change the vertical position of my x axis labels..
boxplot(c(1:12)~c(rep("1",6),rep("2",6)),at=c(1,2),
col=c(0,"grey"),las=1,xaxt="n")
### i put paragraphs in the x-labels because of limited horizontal space
axis(1,at=c(1,2),adj=1,labels=c("Salix
Scrub","Tall
Forb"))
...the labels are one line
2009 Jun 23
2
Plot with a vertical line at zero on x axis
Hallo, All,
I cannot add one straight vertical line at 0.0 on x axis using the following
data and R code:
y<-c(0.037790309,0.020307312,0.021109653,0.050216689,
0.026979484,0.027619193,0.024070163,0.021996969,
0.007831769,0.020065109,0.005903177,0.008182403)
d<-data.frame(cbind(y,seq(1:12)))
colnames(d)<-c("y","x")
attach(d)
2008 Aug 12
3
Multisim: unable to initialize DAO/jet db engine
Hi all,
I have just tired to install Multisim 9 in wine. The program installs but gives an error 'unable to initialize DAO/jet db engine' halfway through. The program runs fine but there are no components in the component database.
Any help would be much appreciated.
Thankyou
2009 Jul 08
2
Running from a disk image
I am trying to install my copy of Medieval II total war from the disk image. The initial setup works fine but halfway through the install it asks for me to insert the next disk containing a file. The second disk is mounted and i designate the path to the appropriate file, but i get an error saying
"setup could not find a file on the specified path or disk
Please check that the proper disk is
2006 Apr 21
4
Dynamic Menu
Hi, I think I''m doing this the right way, but can''t get it going. I''m
building a menu from the values in a mySQL table, and want to build it
on the fly. This is something that should be working but only works
halfway:
<% @pages = Page.find(:all, :conditions => [''site_id = 4'']) %>
<% @pages.each do |p| %>
xyz
<%p.id%>
<%
2007 Nov 21
1
Manipulating x axis in stripchart
Hi all,
I I need to manipulate the x axis in a stripchart.
I will use one of the data sets included in R to
explain what I need to do.
attach(ToothGrowth)
stripchart(len[supp=='VC']~dose[supp=='VC'],
vertical=TRUE, group.names=c('A','A','A'))
stripchart(len[supp=='OJ']~dose[supp=='OJ'], add=TRUE,
vertical=TRUE, at=c(1:3)+.1,
2012 Apr 27
2
get plot axis rounding method
Hello,
Does anyone know how to get the rounding method used for the axis tick
numbers/values in plot()?
I'm using mtext() to plot the values used to plot vertical and horizontal
lines (using abline()) and I'd like these vertical and horizontal line
values to be rounded like the axis tick values are rounded.
In other words, I want numbers plotted with mtext() to be rounded in the
same
2009 Jun 24
2
vertical label on x-axis
Hi,
have anybody a hint how it's possible plot the labels in the x-axis
vertical to get more space.
dotplot( value ~
abbreviate(attribute,minlength=3),data=tabstat10,ylim=c(0,1),col="blue",ylab="Value",type="p",par.settings=my.theme)
Many thanks,
Christian
2008 Sep 07
3
how to draw a vertical line from points to x-axis
Hello,
I want to know how to draw a line connecting each point to the x-axis
perpendicularly (i.e. a vertical line).
abline(v=...) seems not to work for my purpose, because it runs over the
data point. Can anyone help? Thanks.
Anny
[[alternative HTML version deleted]]