Tag Archives: labels

Both axes labels and frame to my graph

 Both axes labels and frame to my graph

Seems like I can’t ad axes labels and a frame to my graph.

I am trying this:

Plot[Blackvolality[k], {k, 0, 0.1}, AxesLabel -> {Volatility, Strike},
PlotLabel -> "Beta=0"]

This work fine^. But when I add frame to it:

Plot[Blackvolality[k], {k, 0, 0.1}, AxesLabel -> {Volatility, Strike},
PlotLabel -> "Beta=0",Frame->True]

Suddenly my Axes labels disappear. How Come? How can I have both?

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange

Permutations on graph vertex labels

 Permutations on graph vertex labels

I want to generate all the possible adjacency matrices of equivalent unlabeled graphs. For example, consider the simple path graph of three vertices. There are three possible adjacency matrices:

a1={{0, 1, 0}, {1, 0, 1}, {0, 1, 0}};
a2={{0, 1, 1}, {1, 0, 0}, {1, 0, 0}};
a3={{0, 0, 1}, {0, 0, 1}, {1, 1, 0}};

Each matrix corresponding to a different (numerical) labeling of the vertices.

Is there a way to generate the other representations given any one of them for any simply connected graph?

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange