Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.5K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Problem with Color of Plot

Posted 11 years ago
Attachments:
POSTED BY: Sarmed Hussain
4 Replies
Posted 11 years ago

Sarmed, I do not find Errorbarlogplots among the packages distributed with version 10.2.

POSTED BY: David Keith
Posted 11 years ago

Hi David, I'm sorry I should have noted that you can download the package from here: http://library.wolfram.com/infocenter/MathSource/6747/

POSTED BY: Sarmed Hussain
Posted 11 years ago

Hi Sarmed,

The first problem can be corrected by combining the styles using Directive:

OnOffOffPlot = 
 LangPlot = 
  ErrorListLogLinearPlot[{OnOffOff}, PlotLegends -> {"OnOffOff"}, 
   PlotRange -> Full, Frame -> True, 
   FrameLabel -> {"Frequenz [Hz]", "Amplitude [mV]"}, 
   LabelStyle -> {FontFamily -> "Times New Roman", 12, GrayLevel[0]}, 
   ImageSize -> Medium, 
   PlotStyle -> Directive[Green, Thickness[0.002], PointSize[0.007]], 
   Joined -> True, GridLines -> Automatic, 
   GridLinesStyle -> 
    Directive[Dotted, GrayLevel[0.80], Thickness[0.002]]]

enter image description here

The second problem can be corrected by specifying the styles for the two data sets seperately as two lists within a list.

OffOffOffPlot = 
 ErrorListLogLinearPlot[{OnOffOff, OffOffOff}, 
  PlotLegends -> {"OnOffOff", "OffOffOff"}, PlotRange -> Full, 
  Frame -> True, FrameLabel -> {"Frequenz [Hz]", "Amplitude [mV]"}, 
  LabelStyle -> {FontFamily -> "Times New Roman", 12, GrayLevel[0]}, 
  ImageSize -> Medium, 
  PlotStyle -> {{Thickness[0.002], 
     PointSize[0.007]}, {Thickness[0.002], PointSize[0.007]}}, 
  Joined -> True, GridLines -> Automatic, 
  GridLinesStyle -> 
   Directive[Dotted, GrayLevel[0.80], Thickness[0.002]]]

enter image description here

Kind regards,

David

POSTED BY: David Keith
Posted 11 years ago

Thank you very much!

POSTED BY: Sarmed Hussain
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard