Re: [julia-users] errorbar plot in Plots.jl

2016-11-09 Thread Li Zhang
the default color is all black, how to set the colors for errorbars? On Friday, October 14, 2016 at 10:23:34 PM UTC-7, franck...@gmail.com wrote: > > Beautiful, thank you! > > On Saturday, October 15, 2016 at 12:06:39 AM UTC+2, Tom Breloff wrote: >> >> Already implemented as attributes: yerror and

[julia-users] Re: transparent color in gadfly

2015-09-23 Thread Li Zhang
lorKey at /home/alex/.julia/v0.3/Gadfly/src/guide.jl:490 (repeats 34898 times) On Wednesday, September 23, 2015 at 9:39:30 PM UTC-4, Li Zhang wrote: > > Hi there, > > i found no way to get transparent colors in gadfly, anyone have done > this, or a issue should be filed? >

[julia-users] transparent color in gadfly

2015-09-23 Thread Li Zhang
Hi there, i found no way to get transparent colors in gadfly, anyone have done this, or a issue should be filed?

[julia-users] Re: `axis(:equal)` or `axis(:scaled)` with Gadfly

2015-08-31 Thread Li Zhang
plot(x=x,y=y,Coord.Cartesian(aspect_ratio=1)) On Wednesday, June 25, 2014 at 7:51:50 AM UTC-4, Tomas Lycken wrote: > > When plotting in e.g. PyPlot I can do e.g. axis(:equal) or axis(:scaled) > (my favorite) to get a plot where the axes are scaled so that the distance > 1 is equally long in the

[julia-users] Re: IJulia best practices when defining types

2015-06-01 Thread Li Zhang
i am not sure fully understand your problem, but i found it's usually better to create a normal julia file that define your module, and then you could include("your module file.jl"). On Monday, June 1, 2015 at 12:54:11 PM UTC-4, Adam Labadorf wrote: > > Hi, > > I am using julia 0.3.8 + IJulia, a

[julia-users] a simple visualization of all the described color strings in Color packge

2015-05-30 Thread Li Zhang
hi folks, i run into a lot of color usage lately, and always wanted to have a color palette to help me choose right and convenient color strings already listed in Color package, so that end up a simple palette which i thought someone may think it useful. cheers ipython notebook: https://www

[julia-users] does GLM support orthogonal regression, deming regression

2015-05-29 Thread Li Zhang
hi, all i just run into a situation that the Total least squares is prefered instead of ordinary least squares, which shows a slightly smaller slope line fitted to my data. is relevant functions already baked in some packages or there is a quick way to do this?

[julia-users] Re: readtable produce wrong column name

2015-04-30 Thread Li Zhang
but in my original dataframe, julia doesn't complain when i add a column using df[symbol("(somename)")]=dataarray. On Thursday, April 30, 2015 at 2:43:19 PM UTC-4, Li Zhang wrote: > > hi all, > > I first use writetable to write a dataframe to a csv file. some

[julia-users] Interact.jl widgets does not show up when IJulia and Ipython updated to the latest version

2015-04-30 Thread Li Zhang
anyone have same problems? or an issue needs to be filed.

[julia-users] readtable produce wrong column name

2015-04-30 Thread Li Zhang
hi all, I first use writetable to write a dataframe to a csv file. some of the column names are "(somename)", or "name & other". the output csv file showed exact name headers, but when i use readtable to read the csv file back to a dataframe, column names become "_somename_" and "name_other".

[julia-users] Re: set DPI of output figure

2015-01-29 Thread Li Zhang
ight have to run the latest master of Gadfly.. not sure this is in a > released version of Gadfly yet. > Run Pkg.checkout("Gadfly") to get the latest master. Pkg.free("Gadfly") to > set it back to the released version. > > > > On Wednesday, 28 January 20

[julia-users] set DPI of output figure

2015-01-28 Thread Li Zhang
Hi fellows, I just encounter a scenario that i want to set the DPI of PNG output of gadfly plot. There seems no direct way to control what i want ``` draw(PNG(path, width, height)) ``` Any one have experience or way to do this?

[julia-users] Re: DataArray Concatenation

2014-09-25 Thread Li Zhang
I would very much like to contribute, but i am not sure if i had time, some projects are keeping me busy. would to look at it when i have spare time. By the way, john, great work for julia statistics:) On Tuesday, September 23, 2014 9:11:20 PM UTC-4, Li Zhang wrote: > > > > a=@da

[julia-users] Re: DataArray Concatenation

2014-09-24 Thread Li Zhang
works well. Thanks On Tuesday, September 23, 2014 9:11:20 PM UTC-4, Li Zhang wrote: > > > > a=@data([NA,3,5,7,NA,3,7]) > i want to do this: > b=[NA,a[1:end-1]] > > but julia says no convert methods. > > is there anyone know some other ways? >

[julia-users] DataArray Concatenation

2014-09-23 Thread Li Zhang
a=@data([NA,3,5,7,NA,3,7]) i want to do this: b=[NA,a[1:end-1]] but julia says no convert methods. is there anyone know some other ways?