Displaying 20 results from an estimated 8000 matches similar to: "plot dates in x-axis"
2008 Nov 17
3
Time plots
Dear all,
I want to do some time plots and actually the dates are in the format of dd/mm/yyyy. So first I input my dataframe in R in a csv form. What I do is
DF<-read.csv("C:/Documents and Settings/DF.csv")
DATE<-as.Date(DATE, "%d/%m/%Y") # to tell R that DATE column is indeed dates
with(DF, plot(DATE,pH))
Until here it works fine, but I have the graph plotting
2011 Mar 13
3
how to change the margins of a plot area
Dear all,
I am ploting two boxplot of two chemical variables using the format
boxplot(Alkalinity, logAlkalinity, log="y", col=c("lightblue"), lwd=0.6, boxwex=0.3)
However when I plot like this, the distance between the two boxplots is very big and as well the distance of each boxplot from the plot area, left and right. How can I minimise that distance between the boxplots and
2010 Aug 31
2
specify axis range
Dear all,
I want to make a plot where I can specify the range of y axis. I am using the interaction.plot command and because the values of y axis are from 2 to 500, I am using a logarithmic scale.
>interaction.plot(speclong$Date,speclong$time2,speclong$outcome,xaxt="n",type="l",pch=20,xlab="", log="y", ylab="Concentration
2006 Jun 06
4
change 1-06-2006 to 1st July 2006 (date formatting)
Hi,
I have a few dates coming from the datebase in the format ''DD-MM-YYYY''
How can I change this in to a more human readable format?
such as 1st July 2006
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2008 Nov 13
1
Boxplots with different variables and different ranges in R
Dear all,
I am trying to make boxplots in one diagram but it is not working. Actually I have a large dataset, around 35 water quality variables with different units and of course in different ranges (some are orders of magnitude bigger than others). I want to produce one diagram with all the boxplots of the variables of my dataset.
I tried these series of commands:
>oldpar <-
2006 Jun 14
5
display formatted date
Hi,
In my form I have date field set as ''datetime_select'' which is fine as I
wanted it in the same format. But while displaying (list action) it
displays date in long format i.e. ''Tue May 30 15:39:00 Central Daylight
Time 2006''. How can I format it so that it will just be diaplyed as
''dd/mm/yyyy'' format?
Thanks
--
Posted via
2009 Feb 17
2
annual maximum value
hi everyone!
hope you can help me here.
i am a new R user. what i am trying to do is to find the maximum annual
discharge from a daily record. i have a data.frame which includes date and
the discharge. somewhat like this..
10/1/1989 2410
10/2/1989 2460
10/3/1989 2890
...
...
...
12/31/2005 5730
i have been browsing through the archives and fount out about the aggregate
2011 Mar 05
1
can anyone tell me how to set asterisk to record all phonecall
Hi all,
I need to use asterisk to record all phonecall I have test using
mixmonitor to record a call.
Now I need to set the configure file to let asterisk auto record all
calls. I have searched many
document but still can not succeed. My version is 1.8beta and I prefer
using mixmonitor.
Regards!
2007 Apr 23
3
How to change Date format
Hi all,
I am using InstantRails with MySQL-Front. Date is stored in format
yyyy-mm-dd
in database. I want to retrieve and show date in dd-mm-yyyy in my
view.rhtml.
How can I change it to dd-mm-yyyy form.
Please help me out.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2011 Dec 13
4
sum with dates
How do I sum 15 years to my dataset?
original dataset
dates val
1 2001-01-12 1.2
2 2001-02-12 1.2
3 2001-03-12 1.2
result
dates val
1 2016-01-12 1.2
2 2016-02-12 1.2
3 2016-03-12 1.2
2006 May 16
9
Date transform
hi all,
i want my users to enter a date in "ddmmyyyy" format, do someone know
how may i transform it in "yyyy-mm-dd" in the controler before i add it
to the base please?
thks
irong
--
Posted via http://www.ruby-forum.com/.
2008 Jun 08
20
how to parse a "dd/mm/yyyy" formatted date string???
Hi,
I''m stuck. How do you parse a "dd/mm/yyyy" formatted date string???
I get a date format error.
Thanks in advance
Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 Feb 04
5
Date parse - month and day reversed
I am getting the month and day reversed in parsing a date. I am wondering if
there is some intelligence in Ruby that knows that at the moment I am in
Mexico, as the parsing is working as if I was
"6/15/2008".to_date
=> ArgumentError: invalid date
"15/6/2008".to_date
=> Sun, 15 Jun 2008
What I really want is my date to be understood as month/day/year. Is there a
way to
2011 Mar 15
3
fitting a distribution to a ecdf plot
Dear all,
I need to plot an cumulative distribution plot of a variable and then to fit a distribution to that, probably a weibull or lognormal.
I have plotted the ecdf as
> plot(ecdf(x))
but I haven't managed to fit the distribution. I have as well attached the data.
I would appreciate if you could help me on that.
Thank you.
Kind regards
Maria
-------------- next part --------------
2009 Oct 28
2
superscript in ylab
Dear all
I am doing some plots in R.
I want to have as label in y-axis Temperature (oC). I have used ylab=expression(paste({Temperature} ^o*C)) but what I get is TemperatureoC.
How can I have a space between Temperature and the units and also the units to be in brackets?
Many thanks
Maria
[[alternative HTML version deleted]]
2006 Jan 20
47
SQL Server datetime error
i have a problem with the datetime format of rails. i am unable to save
a dataset to the db. here''s the error message -- the original error
message was in german, so i translated it -- i get:
DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Couldn''t convert a char-Datatype to datetime
HRESULT error code:0x80020009
2008 Nov 12
2
Enquiries about time plots in R
Dear all,
My name is Maria Lathouri and I am currently doing a PhD at Imperial College of London about time series of environmental variables in surface waters. I am trying to do some time plots with R but it seems that it is not working.
The problem is that the time is not regular, for example, a small dataset can be seen below:
Date pH
1/02/1998 5.5
5/03/1998 5
2006 Jul 17
2
european date format
hi, overhere users go nuts if they have to enter the date in iso format,
so i have to make my applications in such a way that not only dates are
displayed in the "dd-mm-yyy" format but also can be entered in that way.
somewhere i found this code to put in the environment script:
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(
:default => ''%d/%m/%Y
2006 Mar 14
21
Changing default date format in Rails
I''ve spent all day digging through the rails api and postgres-pr on
this, I think it''s time to ask the list.
Postgres stores a Date in YYYY-MM-DD format. My users want the dates
in MM/DD/YYYY format.
Sure, I could explicitly convert it on the app level every place where
a date is displayed, but that seemed like a DRY violation.
I thought I''d be clever and simply
2006 Jun 14
2
Date as INPUT not Selects
Greetings!
Can anyone tell me how to use just a normal input field as a date
entry? I can use a text_field tag, but that brings the date out in
CCYY-MM-DD format. I would like to be able to simply key in my dates
like mm/dd/ccyy format.
Thanks,
Jeremy