Re: [R] Help needed in plotting 2d histogram

2015-12-17 Thread Jim Lemon
Hi Saikat, I don't know whether this can be done with ggplot, but if you don't get another answer, have a look at the second example for the "barp" function in the plotrix package. This shows how to get a specified range on the color legend using the "xrange" argument. Jim On Fri, Dec 18, 2015

[R] Help needed in plotting 2d histogram

2015-12-17 Thread Saikat Dutta Chowdhury
Hello. I have more than one phi-psi time series data files each having 5 time points. I am trying to create density plots (2d histograms) for each and then I would like to compare them. But to be able to compare one plot with the other I need to have similar colour densities (i.e colour