1,606 reputation
429
bio website
location
age
visits member for 2 years, 7 months
seen 2 days ago

Sep
2
comment Coloring edges of a graph according to their weight?
@eldo I really did not know how to get started, so I had nothing to show.
Sep
2
comment Coloring edges of a graph according to their weight?
Why the downvote? Please leave a comment
Sep
1
comment Find the solution of A^2+AB+B^2 = f(a,b,c)
I think $AB$ means $A$ times $B$ in the question.
Sep
1
comment Find the solution of A^2+AB+B^2 = f(a,b,c)
Those are not explicit solutions, since A,B appear on both sides of each equation.
Aug
29
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
@eldo A couple of points that I would like to improve: How can I set the size of the legend color bar (without affecting the font size)? How can I set the size of the colored squares representing the numbers (I would like to make them smaller), without introducing any spacing in between?
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
@eldo I hope I didn't misuse your time. All I wanted was to show what I wanted to get. I'm not satisfied with my own approach yet, I think it is still ugly. Your answer was very helpful to me. In fact, what I had before reading the answers here was even worse, that's why I didn't post it. :)
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
@rm-rf sure. I'll edit it into the question. But tomorrow, now I have to go home.
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
That's ok. I attempted to do it myself at first, but it was too ugly and I thought it wasn't worth it to add it to the question. Now, in part thanks to ideas in the answers here, I have a better code that better displays what I want. I'm posting an answer with my latest code. I will not accept my own answer, but leave it there so that what I want is better understood.
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
I like this, but how can I remove the spacing between elements? The squares should be adjacent.
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
The squares are too large. My list of numbers has about 100 elements, so I need small squares. Also, in your horizontal plot, the labels should be rotated.
Aug
27
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
@Pickett I tried what you said. It works, but it is very ugly. The squares are too large, and I can't eliminate the white space between one square and the next. There are many graphics related options that I don't know very well. Can someone post a complete answer?
Aug
27
comment What are the possible ways of visualizing a 4D function in Mathematica?
Contour plot. You can plot the surfaces along which $F$ is constant.
Jun
13
comment In a ListPlot of LinearModelFit, plot error band
Why are the bands so thin?
Jun
13
comment In a ListPlot of LinearModelFit, plot error band
I added some example data to the question. Can you post the full code?
Jun
6
comment Converting strings of the form “1.34e5” to real numbers?
@m_goldberg However, the question as stated, is a valid question.
Jun
6
comment Converting strings of the form “1.34e5” to real numbers?
@m_goldberg The source is a file containing rows of numbers. All rows are not of the same size, so it is not a matrix (therefore Import with option "Table" doesn't work). If that's relevant I can add it to the question.
May
16
comment Treat strings as variables?
@Ymareth That works. My only complain is that it adds clutter.
May
15
comment From a list of (x,y) pairs, generate a new list of (x,ymean) pairs, where ymean is the average of all y's with the same x in the original list
+1 I knew my solution was too complicated...
May
13
comment Plotting bipartite graph from adjacency matrix
weird; maybe its a bug
May
13
comment Plotting bipartite graph from adjacency matrix
I'm not getting any errors. But if don't explicitly specify the colors, the nodes all show in the default gray colors. To get bipartite red and blue colors, I have to explicitly set those optional arguments. I don't know why this happens.