New Reply

How to change the plotstyle in mathematica?

 
Share Thread Thread Tools
Mar7-12, 12:58 AM   #1
KFC
 

How to change the plotstyle in mathematica?


I am running some notebook, developed by someone else, in mathematica. One of the function defined in the notebook will show a graph. Since the notebook is kinda messy and I don't want to modify it. To alter the title and/or style of the graph, I try the following

G = ShowMapping[2.3];
Show[G, PlotLabel->"Some title"];

This works great. But when I try the same way to alter the plot style, it doesn't work

Show[G, PlotStyle->{Thick}];

Any idea to alter the plot style in this case? Thanks
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Bird's playlist could signal mental strengths and weaknesses
>> Minus environment, patterns still emerge: Computational study tracks E. coli cells' regulatory mechanisms
>> Bacterium uses natural 'thermometer' to trigger diarrheal disease, scientists find
Mar14-12, 03:33 AM   #2
 
It is not very elegant, but you can use:

ToExpression[
ToString[Insert[InputForm[G], Thickness[0.02], {{1, 1, 1, 3, 1}}]]]
New Reply
Thread Tools


Similar Threads for: How to change the plotstyle in mathematica?
Thread Forum Replies
Mathematica PlotStyle->{color,color,color} not working Math & Science Software 3
Mathematica: Change the data from column to row Math & Science Software 2
Mathematica - automatically change function name in for loop Math & Science Software 4
Mathematica - Change graph font size Math & Science Software 1
Mathematica, change colour on the found word in a search Math & Science Software 0