Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.6K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Plot Numbers in a bar chart?

Posted 9 years ago

Hi , I need to plot these parameters -20 , -10 , 10 , 20 Also know that first i need to set the first , second , third and only show them together Need to become diagramm like that -> enter image description here

3 Replies
Posted 9 years ago

Hi smallseries,

In Mathematica:

list = {-20, -10, 10, 20};
BarChart[list, ChartLabels -> Placed[list, Center], AxesLabel -> {x, y}]

it generated:

enter image description here

Is that what you are looking for?

Wilson

POSTED BY: Wilson Kan

Something like this?

BarChart[{-20, -10, 10, 20}, LabelingFunction -> Center, AxesLabel -> {"x", "y"}, LabelStyle -> Directive[Medium, Bold], BarSpacing -> None]

enter image description here

Cheers,

Marco

POSTED BY: Marco Thiel
param = {z0 -> 0, v0 -> 0, g -> 9.81 , k -> 0.2};
p1 = Plot[{z[t] /. param}, {t, 0, 20}, 
  PlotStyle -> {RGBColor[0, 160, 1]}, PlotLabel -> "z[t]", 
  AxesLabel -> {t, z}]
p2 = Plot[{vz[t] /. param}, {t, 0, 20}, PlotRange -> All, 
  PlotStyle -> {RGBColor[33, 0, 1]}, PlotLabel -> "vz[t]", 
  AxesLabel -> {t, vz}]

something like that need to give the parameters i need to make it step by step first -20 -10 10 then 20 then at last Show param or something like that

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