Hi All,
I would like to plot a 1D heat map for a set of numbers present in a list.
Here is my data
A
B
C
D
E
F
G
H
I
-0.02073
0.062098
-0.75256
0.000121
6.87E-17
0.430649
0.10735
0.548055
-1.08628
I would like to obtain a plot as below
I could find examples on 2D heat maps.I would like to get h
Hi,
I have a code for making graphical representations of sentences, Sentence is
represented as a bar, and under in you can represent the words. It works
fine and I have an example at the end.
Now I wanted to add some more features to it, but I am stuck.
you can see the previous post from this
what are you using right now, something like that?
>>> a = np.random.random(70)
>>> x = np.empty([10,a.shape[0]])
>>> x[:,:] = a
>>> pl.contourf(x)
you might want to suppress ticks on the y-axis.
best regards, yoshi
--
On Wed, Jul 20, 2011 at 12:15 PM, Pete Shepard wrote:
> Hello List,
>
> I am trying to use the pylab.contourf(X,Y,Z,100) function but I would like
> to mplot a 1 dimensional heatmap instead of a 2 dimensional heatmap, Perhaps
> "contourf" is not the solution but I do like these plots.
>
> Any sugg
Hello List,
I am trying to use the pylab.contourf(X,Y,Z,100) function but I would like
to mplot a 1 dimensional heatmap instead of a 2 dimensional heatmap, Perhaps
"contourf" is not the solution but I do like these plots.
Any suggestions?
TIA
-